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