#[repr(u8)]pub enum PwdHighVoltDet {
ENABLED = 0,
DISABLED = 1,
}Variants§
ENABLED = 0
Overvoltage detection comparator is enabled
DISABLED = 1
Overvoltage detection comparator is disabled
Implementations§
Trait Implementations§
Source§impl Clone for PwdHighVoltDet
impl Clone for PwdHighVoltDet
Source§fn clone(&self) -> PwdHighVoltDet
fn clone(&self) -> PwdHighVoltDet
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 PwdHighVoltDet
impl Debug for PwdHighVoltDet
Source§impl From<PwdHighVoltDet> for u8
impl From<PwdHighVoltDet> for u8
Source§fn from(val: PwdHighVoltDet) -> u8
fn from(val: PwdHighVoltDet) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PwdHighVoltDet
impl From<u8> for PwdHighVoltDet
Source§fn from(val: u8) -> PwdHighVoltDet
fn from(val: u8) -> PwdHighVoltDet
Converts to this type from the input type.
Source§impl Ord for PwdHighVoltDet
impl Ord for PwdHighVoltDet
Source§fn cmp(&self, other: &PwdHighVoltDet) -> Ordering
fn cmp(&self, other: &PwdHighVoltDet) -> 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 PwdHighVoltDet
impl PartialEq for PwdHighVoltDet
Source§impl PartialOrd for PwdHighVoltDet
impl PartialOrd for PwdHighVoltDet
impl Copy for PwdHighVoltDet
impl Eq for PwdHighVoltDet
impl StructuralPartialEq for PwdHighVoltDet
Auto Trait Implementations§
impl Freeze for PwdHighVoltDet
impl RefUnwindSafe for PwdHighVoltDet
impl Send for PwdHighVoltDet
impl Sync for PwdHighVoltDet
impl Unpin for PwdHighVoltDet
impl UnwindSafe for PwdHighVoltDet
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