Enum Cntgateclk
#[repr(u8)]pub enum Cntgateclk {
Clocks64 = 0,
Clocks128 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
}Variants§
Implementations§
§impl Cntgateclk
impl Cntgateclk
pub const fn from_bits(val: u8) -> Cntgateclk
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Cntgateclk
impl Clone for Cntgateclk
§fn clone(&self) -> Cntgateclk
fn clone(&self) -> Cntgateclk
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Cntgateclk
impl Eq for Cntgateclk
§impl From<Cntgateclk> for u8
impl From<Cntgateclk> for u8
§fn from(val: Cntgateclk) -> u8
fn from(val: Cntgateclk) -> u8
Converts to this type from the input type.
§impl From<u8> for Cntgateclk
impl From<u8> for Cntgateclk
§fn from(val: u8) -> Cntgateclk
fn from(val: u8) -> Cntgateclk
Converts to this type from the input type.
§impl Ord for Cntgateclk
impl Ord for Cntgateclk
§fn cmp(&self, other: &Cntgateclk) -> Ordering
fn cmp(&self, other: &Cntgateclk) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Cntgateclk
impl PartialEq for Cntgateclk
§impl PartialOrd for Cntgateclk
impl PartialOrd for Cntgateclk
impl StructuralPartialEq for Cntgateclk
Auto Trait Implementations§
impl Freeze for Cntgateclk
impl RefUnwindSafe for Cntgateclk
impl Send for Cntgateclk
impl Sync for Cntgateclk
impl Unpin for Cntgateclk
impl UnsafeUnpin for Cntgateclk
impl UnwindSafe for Cntgateclk
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