pub struct PXx<MODE> { /* private fields */ }
Expand description
Fully erased pin
This moves the pin type information to be known at runtime, and erases the specific compile time type of the GPIO. It does only matter, that it is a GPIO pin with a specific MODE.
See examples/gpio_erased.rs as an example.
Trait Implementations§
Source§impl<MODE> StatefulOutputPin for PXx<Output<MODE>>
impl<MODE> StatefulOutputPin for PXx<Output<MODE>>
impl<MODE> Default for PXx<Output<MODE>>
Auto Trait Implementations§
impl<MODE> Freeze for PXx<MODE>
impl<MODE> RefUnwindSafe for PXx<MODE>where
MODE: RefUnwindSafe,
impl<MODE> Send for PXx<MODE>where
MODE: Send,
impl<MODE> Sync for PXx<MODE>where
MODE: Sync,
impl<MODE> Unpin for PXx<MODE>where
MODE: Unpin,
impl<MODE> UnwindSafe for PXx<MODE>where
MODE: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more