pub struct LedHigh<'a, P: Pin> {
pub pin: &'a P,
}
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> Freeze for LedHigh<'a, P>
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§
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