pub enum LedPolarity {
ActiveHigh,
ActiveLow,
}Expand description
LED polarity
Variants§
ActiveHigh
Active high (a high output turns on the LED).
ActiveLow
Active low (a low output turns on the LED).
Trait Implementations§
Source§impl Clone for LedPolarity
impl Clone for LedPolarity
Source§fn clone(&self) -> LedPolarity
fn clone(&self) -> LedPolarity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LedPolarity
Source§impl Debug for LedPolarity
impl Debug for LedPolarity
impl Eq for LedPolarity
Source§impl PartialEq for LedPolarity
impl PartialEq for LedPolarity
impl StructuralPartialEq for LedPolarity
Auto Trait Implementations§
impl Freeze for LedPolarity
impl RefUnwindSafe for LedPolarity
impl Send for LedPolarity
impl Sync for LedPolarity
impl Unpin for LedPolarity
impl UnsafeUnpin for LedPolarity
impl UnwindSafe for LedPolarity
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