esp_idf_svc::hal::gpio

Trait Pin

Source
pub trait Pin:
    Sized
    + Peripheral<P = Self>
    + Send
    + 'static {
    // Required method
    fn pin(&self) -> i32;
}
Expand description

A trait implemented by every pin instance

Required Methods§

Source

fn pin(&self) -> i32

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§