#[repr(u8)]pub enum PreChrgMode {
PRE_CHRG_MODE_0 = 0,
PRE_CHRG_MODE_1 = 1,
}Variants§
Implementations§
Source§impl PreChrgMode
impl PreChrgMode
Trait Implementations§
Source§impl Clone for PreChrgMode
impl Clone for PreChrgMode
Source§fn clone(&self) -> PreChrgMode
fn clone(&self) -> PreChrgMode
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 PreChrgMode
impl Debug for PreChrgMode
Source§impl From<PreChrgMode> for u8
impl From<PreChrgMode> for u8
Source§fn from(val: PreChrgMode) -> u8
fn from(val: PreChrgMode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PreChrgMode
impl From<u8> for PreChrgMode
Source§fn from(val: u8) -> PreChrgMode
fn from(val: u8) -> PreChrgMode
Converts to this type from the input type.
Source§impl Ord for PreChrgMode
impl Ord for PreChrgMode
Source§fn cmp(&self, other: &PreChrgMode) -> Ordering
fn cmp(&self, other: &PreChrgMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PreChrgMode
impl PartialEq for PreChrgMode
Source§impl PartialOrd for PreChrgMode
impl PartialOrd for PreChrgMode
impl Copy for PreChrgMode
impl Eq for PreChrgMode
impl StructuralPartialEq for PreChrgMode
Auto Trait Implementations§
impl Freeze for PreChrgMode
impl RefUnwindSafe for PreChrgMode
impl Send for PreChrgMode
impl Sync for PreChrgMode
impl Unpin for PreChrgMode
impl UnwindSafe for PreChrgMode
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