#[repr(u8)]pub enum Reg2Policy {
REG2_00 = 0,
REG2_01 = 1,
REG2_10 = 2,
REG2_11 = 3,
}Variants§
Implementations§
Source§impl Reg2Policy
impl Reg2Policy
Trait Implementations§
Source§impl Clone for Reg2Policy
impl Clone for Reg2Policy
Source§fn clone(&self) -> Reg2Policy
fn clone(&self) -> Reg2Policy
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 Reg2Policy
impl Debug for Reg2Policy
Source§impl From<Reg2Policy> for u8
impl From<Reg2Policy> for u8
Source§fn from(val: Reg2Policy) -> u8
fn from(val: Reg2Policy) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Reg2Policy
impl From<u8> for Reg2Policy
Source§fn from(val: u8) -> Reg2Policy
fn from(val: u8) -> Reg2Policy
Converts to this type from the input type.
Source§impl Ord for Reg2Policy
impl Ord for Reg2Policy
Source§fn cmp(&self, other: &Reg2Policy) -> Ordering
fn cmp(&self, other: &Reg2Policy) -> 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 Reg2Policy
impl PartialEq for Reg2Policy
Source§impl PartialOrd for Reg2Policy
impl PartialOrd for Reg2Policy
impl Copy for Reg2Policy
impl Eq for Reg2Policy
impl StructuralPartialEq for Reg2Policy
Auto Trait Implementations§
impl Freeze for Reg2Policy
impl RefUnwindSafe for Reg2Policy
impl Send for Reg2Policy
impl Sync for Reg2Policy
impl Unpin for Reg2Policy
impl UnwindSafe for Reg2Policy
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