#[repr(transparent)]pub struct Ctimerclksel2(pub u32);Expand description
CTimer 2 clock source select
Tuple Fields§
§0: u32Implementations§
Source§impl Ctimerclksel2
impl Ctimerclksel2
Sourcepub const fn sel(&self) -> Ctimerclksel2Sel
pub const fn sel(&self) -> Ctimerclksel2Sel
CTimer 2 clock source select.
Sourcepub const fn set_sel(&mut self, val: Ctimerclksel2Sel)
pub const fn set_sel(&mut self, val: Ctimerclksel2Sel)
CTimer 2 clock source select.
Trait Implementations§
Source§impl Clone for Ctimerclksel2
impl Clone for Ctimerclksel2
Source§fn clone(&self) -> Ctimerclksel2
fn clone(&self) -> Ctimerclksel2
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 Ctimerclksel2
impl Debug for Ctimerclksel2
Source§impl Default for Ctimerclksel2
impl Default for Ctimerclksel2
Source§fn default() -> Ctimerclksel2
fn default() -> Ctimerclksel2
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ctimerclksel2
impl PartialEq for Ctimerclksel2
impl Copy for Ctimerclksel2
impl Eq for Ctimerclksel2
impl StructuralPartialEq for Ctimerclksel2
Auto Trait Implementations§
impl Freeze for Ctimerclksel2
impl RefUnwindSafe for Ctimerclksel2
impl Send for Ctimerclksel2
impl Sync for Ctimerclksel2
impl Unpin for Ctimerclksel2
impl UnwindSafe for Ctimerclksel2
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