Expand description
For LEDs in which on is when GPIO is high.
Fields
pin: &'a P
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, P> RefUnwindSafe for LedHigh<'a, P> where
P: RefUnwindSafe,
impl<'a, P> Send for LedHigh<'a, P> where
P: Sync,
impl<'a, P> Sync for LedHigh<'a, P> where
P: Sync,
impl<'a, P> Unpin for LedHigh<'a, P>
impl<'a, P> UnwindSafe for LedHigh<'a, P> where
P: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more