#[repr(transparent)]pub struct Proc1ctrl(pub u32);Expand description
Controls the tick generator
Tuple Fields§
§0: u32Implementations§
Source§impl Proc1ctrl
impl Proc1ctrl
Sourcepub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
start / stop tick generation
Sourcepub const fn set_running(&mut self, val: bool)
pub const fn set_running(&mut self, val: bool)
Is the tick generator running?
Trait Implementations§
impl Copy for Proc1ctrl
impl Eq for Proc1ctrl
impl StructuralPartialEq for Proc1ctrl
Auto Trait Implementations§
impl Freeze for Proc1ctrl
impl RefUnwindSafe for Proc1ctrl
impl Send for Proc1ctrl
impl Sync for Proc1ctrl
impl Unpin for Proc1ctrl
impl UnwindSafe for Proc1ctrl
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