Enum kernel::time::hrtimer::HrTimerRestart
source · #[repr(u32)]pub enum HrTimerRestart {
NoRestart = 0,
Restart = 1,
}
Expand description
Restart policy for timers.
Variants§
Trait Implementations§
source§impl Clone for HrTimerRestart
impl Clone for HrTimerRestart
source§fn clone(&self) -> HrTimerRestart
fn clone(&self) -> HrTimerRestart
Returns a copy 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 HrTimerRestart
impl Debug for HrTimerRestart
source§impl PartialEq for HrTimerRestart
impl PartialEq for HrTimerRestart
source§fn eq(&self, other: &HrTimerRestart) -> bool
fn eq(&self, other: &HrTimerRestart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HrTimerRestart
impl Eq for HrTimerRestart
impl StructuralPartialEq for HrTimerRestart
Auto Trait Implementations§
impl Freeze for HrTimerRestart
impl RefUnwindSafe for HrTimerRestart
impl Send for HrTimerRestart
impl Sync for HrTimerRestart
impl Unpin for HrTimerRestart
impl UnwindSafe for HrTimerRestart
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