#[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 (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 ChgLedControlSourceSelect
Source§impl Debug for ChgLedControlSourceSelect
impl Debug for ChgLedControlSourceSelect
impl Eq 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 PartialEq for ChgLedControlSourceSelect
impl PartialEq for ChgLedControlSourceSelect
Source§fn eq(&self, other: &ChgLedControlSourceSelect) -> bool
fn eq(&self, other: &ChgLedControlSourceSelect) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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