ws2812_esp32_rmt_driver::mock::esp_idf_hal::gpio

Struct Pins

Source
pub struct Pins {
Show 49 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, pub gpio22: Gpio22, pub gpio23: Gpio23, pub gpio24: Gpio24, pub gpio25: Gpio25, pub gpio26: Gpio26, pub gpio27: Gpio27, pub gpio28: Gpio28, pub gpio29: Gpio29, pub gpio30: Gpio30, pub gpio31: Gpio31, pub gpio32: Gpio32, pub gpio33: Gpio33, pub gpio34: Gpio34, pub gpio35: Gpio35, pub gpio36: Gpio36, pub gpio37: Gpio37, pub gpio38: Gpio38, pub gpio39: Gpio39, pub gpio40: Gpio40, pub gpio41: Gpio41, pub gpio42: Gpio42, pub gpio43: Gpio43, pub gpio44: Gpio44, pub gpio45: Gpio45, pub gpio46: Gpio46, pub gpio47: Gpio47, pub gpio48: Gpio48,
}
Available on non-target_vendor="espressif" only.
Expand description

Mock struct for esp_idf_hal::gpio::Pins.

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§gpio22: Gpio22§gpio23: Gpio23§gpio24: Gpio24§gpio25: Gpio25§gpio26: Gpio26§gpio27: Gpio27§gpio28: Gpio28§gpio29: Gpio29§gpio30: Gpio30§gpio31: Gpio31§gpio32: Gpio32§gpio33: Gpio33§gpio34: Gpio34§gpio35: Gpio35§gpio36: Gpio36§gpio37: Gpio37§gpio38: Gpio38§gpio39: Gpio39§gpio40: Gpio40§gpio41: Gpio41§gpio42: Gpio42§gpio43: Gpio43§gpio44: Gpio44§gpio45: Gpio45§gpio46: Gpio46§gpio47: Gpio47§gpio48: Gpio48

Trait Implementations§

Source§

impl Debug for Pins

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Pins

Source§

fn default() -> Pins

Returns the “default value” for a type. Read more

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§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Az for T

Source§

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

Source§

fn cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> CheckedAs for T

Source§

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

Source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> OverflowingAs for T

Source§

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

Source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
Source§

impl<T> SaturatingAs for T

Source§

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

Source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
Source§

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

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.
Source§

impl<T> UnwrappedAs for T

Source§

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

Source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> WrappingAs for T

Source§

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

Source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.