pub struct LedLow<'a, P: Pin> {
pub pin: &'a P,
}
Expand description
For LEDs in which on is when GPIO is low.
Fields§
§pin: &'a P
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, P> Freeze for LedLow<'a, P>
impl<'a, P> RefUnwindSafe for LedLow<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for LedLow<'a, P>where
P: Sync,
impl<'a, P> Sync for LedLow<'a, P>where
P: Sync,
impl<'a, P> Unpin for LedLow<'a, P>
impl<'a, P> UnwindSafe for LedLow<'a, P>where
P: RefUnwindSafe,
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