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