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