#[repr(u8)]pub enum EncoderMode {
EncoderModeIncremental = 0,
EncoderModeHall = 1,
}Variants§
Trait Implementations§
Source§impl Clone for EncoderMode
impl Clone for EncoderMode
Source§fn clone(&self) -> EncoderMode
fn clone(&self) -> EncoderMode
Returns a duplicate 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 EncoderMode
impl Debug for EncoderMode
Source§impl Ord for EncoderMode
impl Ord for EncoderMode
Source§fn cmp(&self, other: &EncoderMode) -> Ordering
fn cmp(&self, other: &EncoderMode) -> Ordering
1.21.0 · 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
Source§impl PartialEq for EncoderMode
impl PartialEq for EncoderMode
Source§impl PartialOrd for EncoderMode
impl PartialOrd for EncoderMode
impl Copy for EncoderMode
impl Eq for EncoderMode
impl StructuralPartialEq for EncoderMode
Auto Trait Implementations§
impl Freeze for EncoderMode
impl RefUnwindSafe for EncoderMode
impl Send for EncoderMode
impl Sync for EncoderMode
impl Unpin for EncoderMode
impl UnwindSafe for EncoderMode
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