#[repr(u8)]pub enum Once {
ONCE0 = 0,
ONCE1 = 1,
}Variants§
ONCE0 = 0
Position counter counts repeatedly
ONCE1 = 1
Position counter counts until roll-over or roll-under, then stop.
Implementations§
Trait Implementations§
Source§impl Ord for Once
impl Ord for Once
Source§impl PartialOrd for Once
impl PartialOrd for Once
impl Copy for Once
impl Eq for Once
impl StructuralPartialEq for Once
Auto Trait Implementations§
impl Freeze for Once
impl RefUnwindSafe for Once
impl Send for Once
impl Sync for Once
impl Unpin for Once
impl UnwindSafe for Once
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