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