pub struct GenericPin { /* private fields */ }Expand description
A drop-in substitute for the PIO0_0, PIO0_1… etc. structs which are generated at compile
time and used to bind each pin to a pins::Token.
GenericPins are only intended for use cases which are made impossible by the default
pins::Trait having pin information compiled into its type, e.g. if you’d like to store
several pin instances in a collection, or modify them in batches.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GenericPin
impl RefUnwindSafe for GenericPin
impl Send for GenericPin
impl Sync for GenericPin
impl Unpin for GenericPin
impl UnwindSafe for GenericPin
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