pub struct GpioRef<'a, P: OutputPin> { /* private fields */ }Expand description
Reference-taking version of an Instrument implementation for an
OutputPin (embedded-hal version 1.0).
This type is also available as Gpio, which does consumes the
underlying OutputPin. For an Instrument implementation which
supports embedded-hal version 0.2, see LegacyGpioRef.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, P> Freeze for GpioRef<'a, P>
impl<'a, P> RefUnwindSafe for GpioRef<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for GpioRef<'a, P>where
P: Send,
impl<'a, P> Sync for GpioRef<'a, P>where
P: Sync,
impl<'a, P> Unpin for GpioRef<'a, P>
impl<'a, P> !UnwindSafe for GpioRef<'a, P>
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