#[repr(u8)]pub enum ChgLedFunctionSetting {
HighZ = 0,
Blink1Hz = 1,
Blink4Hz = 2,
OutputLow = 3,
}Variants§
HighZ = 0
High Impedance.
Blink1Hz = 1
1Hz blink (25% duty).
Blink4Hz = 2
4Hz blink (25% duty).
OutputLow = 3
Output Low.
Trait Implementations§
Source§impl Clone for ChgLedFunctionSetting
impl Clone for ChgLedFunctionSetting
Source§fn clone(&self) -> ChgLedFunctionSetting
fn clone(&self) -> ChgLedFunctionSetting
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 ChgLedFunctionSetting
Source§impl Debug for ChgLedFunctionSetting
impl Debug for ChgLedFunctionSetting
impl Eq for ChgLedFunctionSetting
Source§impl From<ChgLedFunctionSetting> for u8
impl From<ChgLedFunctionSetting> for u8
Source§fn from(val: ChgLedFunctionSetting) -> Self
fn from(val: ChgLedFunctionSetting) -> Self
Converts to this type from the input type.
Source§impl Hash for ChgLedFunctionSetting
impl Hash for ChgLedFunctionSetting
Source§impl PartialEq for ChgLedFunctionSetting
impl PartialEq for ChgLedFunctionSetting
Source§fn eq(&self, other: &ChgLedFunctionSetting) -> bool
fn eq(&self, other: &ChgLedFunctionSetting) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChgLedFunctionSetting
Auto Trait Implementations§
impl Freeze for ChgLedFunctionSetting
impl RefUnwindSafe for ChgLedFunctionSetting
impl Send for ChgLedFunctionSetting
impl Sync for ChgLedFunctionSetting
impl Unpin for ChgLedFunctionSetting
impl UnsafeUnpin for ChgLedFunctionSetting
impl UnwindSafe for ChgLedFunctionSetting
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