Enum Csr
#[repr(u8)]pub enum Csr {
Rollover = 0,
NotRollover = 1,
}Variants§
Rollover = 0
Counters roll over to zero after reaching the maximum value
NotRollover = 1
Counters do not roll over to zero after reaching the maximum value
Implementations§
Trait Implementations§
impl Copy for Csr
impl Eq for Csr
§impl Ord for Csr
impl Ord for Csr
1.21.0 (const: unstable) · 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
§impl PartialOrd for Csr
impl PartialOrd for Csr
impl StructuralPartialEq for Csr
Auto Trait Implementations§
impl Freeze for Csr
impl RefUnwindSafe for Csr
impl Send for Csr
impl Sync for Csr
impl Unpin for Csr
impl UnsafeUnpin for Csr
impl UnwindSafe for Csr
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