pub enum EncoderDirection {
Clockwise,
CounterClockwise,
}Expand description
Represents the direction of an encoder
Variants§
Trait Implementations§
Source§impl Clone for EncoderDirection
impl Clone for EncoderDirection
Source§fn clone(&self) -> EncoderDirection
fn clone(&self) -> EncoderDirection
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 EncoderDirection
impl Debug for EncoderDirection
Source§impl<'de> Deserialize<'de> for EncoderDirection
impl<'de> Deserialize<'de> for EncoderDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MaxSize for EncoderDirection
impl MaxSize for EncoderDirection
Source§const POSTCARD_MAX_SIZE: usize = 1usize
const POSTCARD_MAX_SIZE: usize = 1usize
The maximum possible size that the serialization of this
type can have, in bytes.
Source§impl PartialEq for EncoderDirection
impl PartialEq for EncoderDirection
Source§impl Serialize for EncoderDirection
impl Serialize for EncoderDirection
impl Copy for EncoderDirection
impl Eq for EncoderDirection
impl StructuralPartialEq for EncoderDirection
Auto Trait Implementations§
impl Freeze for EncoderDirection
impl RefUnwindSafe for EncoderDirection
impl Send for EncoderDirection
impl Sync for EncoderDirection
impl Unpin for EncoderDirection
impl UnwindSafe for EncoderDirection
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