Struct esp_idf_hal::gpio::Pins

source ·
pub struct Pins {
Show 22 fields pub gpio0: Gpio0, pub gpio1: Gpio1, pub gpio2: Gpio2, pub gpio3: Gpio3, pub gpio4: Gpio4, pub gpio5: Gpio5, pub gpio6: Gpio6, pub gpio7: Gpio7, pub gpio8: Gpio8, pub gpio9: Gpio9, pub gpio10: Gpio10, pub gpio11: Gpio11, pub gpio12: Gpio12, pub gpio13: Gpio13, pub gpio14: Gpio14, pub gpio15: Gpio15, pub gpio16: Gpio16, pub gpio17: Gpio17, pub gpio18: Gpio18, pub gpio19: Gpio19, pub gpio20: Gpio20, pub gpio21: Gpio21,
}

Fields§

§gpio0: Gpio0§gpio1: Gpio1§gpio2: Gpio2§gpio3: Gpio3§gpio4: Gpio4§gpio5: Gpio5§gpio6: Gpio6§gpio7: Gpio7§gpio8: Gpio8§gpio9: Gpio9§gpio10: Gpio10§gpio11: Gpio11§gpio12: Gpio12§gpio13: Gpio13§gpio14: Gpio14§gpio15: Gpio15§gpio16: Gpio16§gpio17: Gpio17§gpio18: Gpio18§gpio19: Gpio19§gpio20: Gpio20§gpio21: Gpio21

Implementations§

source§

impl Pins

source

pub unsafe fn new() -> Self

§Safety

Care should be taken not to instantiate the Pins structure, if it is already instantiated and used elsewhere

Auto Trait Implementations§

§

impl Freeze for Pins

§

impl RefUnwindSafe for Pins

§

impl Send for Pins

§

impl !Sync for Pins

§

impl Unpin for Pins

§

impl UnwindSafe for Pins

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.