Struct EncoderMode
#[repr(transparent)]pub struct EncoderMode(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl EncoderMode
impl EncoderMode
pub const NOREDIRECTION: Self
pub const NOREDIRECTION: Self
No redirection
pub const MAPTIM2TIM15: Self
pub const MAPTIM2TIM15: Self
TIM2 IC1 and TIM2 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively
pub const MAPTIM3TIM15: Self
pub const MAPTIM3TIM15: Self
TIM3 IC1 and TIM3 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively
Trait Implementations§
§impl Clone for EncoderMode
impl Clone for EncoderMode
§fn clone(&self) -> EncoderMode
fn clone(&self) -> EncoderMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Ord for EncoderMode
impl Ord for EncoderMode
§impl PartialEq for EncoderMode
impl PartialEq for EncoderMode
§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