#[repr(u8)]pub enum Mainregstatus {
NORMAL = 0,
HIGH = 1,
}
Variants§
NORMAL = 0
Normal voltage mode. Voltage supplied on VDD.
HIGH = 1
High voltage mode. Voltage supplied on VDDH.
Implementations§
Source§impl Mainregstatus
impl Mainregstatus
Trait Implementations§
Source§impl Clone for Mainregstatus
impl Clone for Mainregstatus
Source§fn clone(&self) -> Mainregstatus
fn clone(&self) -> Mainregstatus
Returns a copy 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 From<Mainregstatus> for u8
impl From<Mainregstatus> for u8
Source§fn from(val: Mainregstatus) -> u8
fn from(val: Mainregstatus) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Mainregstatus
impl From<u8> for Mainregstatus
Source§fn from(val: u8) -> Mainregstatus
fn from(val: u8) -> Mainregstatus
Converts to this type from the input type.
Source§impl Ord for Mainregstatus
impl Ord for Mainregstatus
Source§fn cmp(&self, other: &Mainregstatus) -> Ordering
fn cmp(&self, other: &Mainregstatus) -> 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 Mainregstatus
impl PartialEq for Mainregstatus
Source§impl PartialOrd for Mainregstatus
impl PartialOrd for Mainregstatus
impl Copy for Mainregstatus
impl Eq for Mainregstatus
impl StructuralPartialEq for Mainregstatus
Auto Trait Implementations§
impl Freeze for Mainregstatus
impl RefUnwindSafe for Mainregstatus
impl Send for Mainregstatus
impl Sync for Mainregstatus
impl Unpin for Mainregstatus
impl UnwindSafe for Mainregstatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)