#[repr(u8)]pub enum AddressCtrl2 {
_RESERVED_0 = 0,
EnableReset = 1,
EnableInterrupt = 2,
_RESERVED_3 = 3,
DisableBoth = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
_RESERVED_0 = 0
EnableReset = 1
Enable reset.
EnableInterrupt = 2
Enable interrupt.
_RESERVED_3 = 3
DisableBoth = 4
Disable both reset and interrupt.
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Source§impl AddressCtrl2
impl AddressCtrl2
Trait Implementations§
Source§impl Clone for AddressCtrl2
impl Clone for AddressCtrl2
Source§fn clone(&self) -> AddressCtrl2
fn clone(&self) -> AddressCtrl2
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<AddressCtrl2> for u8
impl From<AddressCtrl2> for u8
Source§fn from(val: AddressCtrl2) -> u8
fn from(val: AddressCtrl2) -> u8
Converts to this type from the input type.
Source§impl From<u8> for AddressCtrl2
impl From<u8> for AddressCtrl2
Source§fn from(val: u8) -> AddressCtrl2
fn from(val: u8) -> AddressCtrl2
Converts to this type from the input type.
Source§impl Ord for AddressCtrl2
impl Ord for AddressCtrl2
Source§fn cmp(&self, other: &AddressCtrl2) -> Ordering
fn cmp(&self, other: &AddressCtrl2) -> 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 AddressCtrl2
impl PartialEq for AddressCtrl2
Source§impl PartialOrd for AddressCtrl2
impl PartialOrd for AddressCtrl2
impl Copy for AddressCtrl2
impl Eq for AddressCtrl2
impl StructuralPartialEq for AddressCtrl2
Auto Trait Implementations§
impl Freeze for AddressCtrl2
impl RefUnwindSafe for AddressCtrl2
impl Send for AddressCtrl2
impl Sync for AddressCtrl2
impl Unpin for AddressCtrl2
impl UnwindSafe for AddressCtrl2
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