#[repr(u8)]pub enum Gdet0CtrlGdetIsoSw {
Disable0 = 0,
Disable1 = 1,
Enable = 2,
Disable3 = 3,
}Variants§
Disable0 = 0
Isolation is disabled
Disable1 = 1
Isolation is disabled
Enable = 2
Isolation is enabled. When GDET0_CTRL GDET_ISO_SW are “10”, isolation_on is asserted.
Disable3 = 3
Isolation is disabled
Implementations§
Trait Implementations§
Source§impl Clone for Gdet0CtrlGdetIsoSw
impl Clone for Gdet0CtrlGdetIsoSw
Source§fn clone(&self) -> Gdet0CtrlGdetIsoSw
fn clone(&self) -> Gdet0CtrlGdetIsoSw
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 Gdet0CtrlGdetIsoSw
impl Debug for Gdet0CtrlGdetIsoSw
Source§impl From<Gdet0CtrlGdetIsoSw> for u8
impl From<Gdet0CtrlGdetIsoSw> for u8
Source§fn from(val: Gdet0CtrlGdetIsoSw) -> u8
fn from(val: Gdet0CtrlGdetIsoSw) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Gdet0CtrlGdetIsoSw
impl From<u8> for Gdet0CtrlGdetIsoSw
Source§fn from(val: u8) -> Gdet0CtrlGdetIsoSw
fn from(val: u8) -> Gdet0CtrlGdetIsoSw
Converts to this type from the input type.
Source§impl Ord for Gdet0CtrlGdetIsoSw
impl Ord for Gdet0CtrlGdetIsoSw
Source§fn cmp(&self, other: &Gdet0CtrlGdetIsoSw) -> Ordering
fn cmp(&self, other: &Gdet0CtrlGdetIsoSw) -> 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 Gdet0CtrlGdetIsoSw
impl PartialEq for Gdet0CtrlGdetIsoSw
Source§impl PartialOrd for Gdet0CtrlGdetIsoSw
impl PartialOrd for Gdet0CtrlGdetIsoSw
impl Copy for Gdet0CtrlGdetIsoSw
impl Eq for Gdet0CtrlGdetIsoSw
impl StructuralPartialEq for Gdet0CtrlGdetIsoSw
Auto Trait Implementations§
impl Freeze for Gdet0CtrlGdetIsoSw
impl RefUnwindSafe for Gdet0CtrlGdetIsoSw
impl Send for Gdet0CtrlGdetIsoSw
impl Sync for Gdet0CtrlGdetIsoSw
impl Unpin for Gdet0CtrlGdetIsoSw
impl UnwindSafe for Gdet0CtrlGdetIsoSw
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