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