esp_idf_hal::gpio

Trait Pin

Source
pub trait Pin:
    Peripheral<P = Self>
    + Sized
    + 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§