#[repr(u8)]pub enum ChgLedControlSourceSelect {
ByChargeLogic = 0,
ByRegisterSetting = 1,
}
Variants§
ByChargeLogic = 0
Controlled by charging function.
ByRegisterSetting = 1
Controlled by this register’s chgled_function field.
Trait Implementations§
Source§impl Clone for ChgLedControlSourceSelect
impl Clone for ChgLedControlSourceSelect
Source§fn clone(&self) -> ChgLedControlSourceSelect
fn clone(&self) -> ChgLedControlSourceSelect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChgLedControlSourceSelect
impl Debug for ChgLedControlSourceSelect
Source§impl From<ChgLedControlSourceSelect> for u8
impl From<ChgLedControlSourceSelect> for u8
Source§fn from(val: ChgLedControlSourceSelect) -> Self
fn from(val: ChgLedControlSourceSelect) -> Self
Converts to this type from the input type.
Source§impl Hash for ChgLedControlSourceSelect
impl Hash for ChgLedControlSourceSelect
Source§impl TryFrom<u8> for ChgLedControlSourceSelect
impl TryFrom<u8> for ChgLedControlSourceSelect
impl Copy for ChgLedControlSourceSelect
impl Eq for ChgLedControlSourceSelect
impl StructuralPartialEq for ChgLedControlSourceSelect
Auto Trait Implementations§
impl Freeze for ChgLedControlSourceSelect
impl RefUnwindSafe for ChgLedControlSourceSelect
impl Send for ChgLedControlSourceSelect
impl Sync for ChgLedControlSourceSelect
impl Unpin for ChgLedControlSourceSelect
impl UnwindSafe for ChgLedControlSourceSelect
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