pub enum CounterMode {
Up = 0,
Down = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CounterMode
impl Clone for CounterMode
Source§fn clone(&self) -> CounterMode
fn clone(&self) -> CounterMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CounterMode
Source§impl Debug for CounterMode
impl Debug for CounterMode
impl Eq for CounterMode
Source§impl PartialEq for CounterMode
impl PartialEq for CounterMode
Source§fn eq(&self, other: &CounterMode) -> bool
fn eq(&self, other: &CounterMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CounterMode
Auto Trait Implementations§
impl Freeze for CounterMode
impl RefUnwindSafe for CounterMode
impl Send for CounterMode
impl Sync for CounterMode
impl Unpin for CounterMode
impl UnsafeUnpin for CounterMode
impl UnwindSafe for CounterMode
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