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