pub struct RotaryEncoder<Pos, Tick, Delta>where
Pos: Num + WrappingAdd + WrappingSub + Bounded + Copy + PartialOrd + AsPrimitive<Delta> + Default,
Tick: Unsigned + Bounded + Copy + PartialOrd + CheckedSub + Default,
Delta: Signed + Copy + AsPrimitive<Pos>,{ /* private fields */ }
Implementations§
Source§impl<Pos, Tick, Delta> RotaryEncoder<Pos, Tick, Delta>where
Pos: Num + WrappingAdd + WrappingSub + Bounded + Copy + PartialOrd + AsPrimitive<Delta> + Default,
Tick: Unsigned + Bounded + Copy + PartialOrd + CheckedSub + Default,
Delta: Signed + Copy + AsPrimitive<Pos>,
impl<Pos, Tick, Delta> RotaryEncoder<Pos, Tick, Delta>where
Pos: Num + WrappingAdd + WrappingSub + Bounded + Copy + PartialOrd + AsPrimitive<Delta> + Default,
Tick: Unsigned + Bounded + Copy + PartialOrd + CheckedSub + Default,
Delta: Signed + Copy + AsPrimitive<Pos>,
Auto Trait Implementations§
impl<Pos, Tick, Delta> Freeze for RotaryEncoder<Pos, Tick, Delta>
impl<Pos, Tick, Delta> RefUnwindSafe for RotaryEncoder<Pos, Tick, Delta>
impl<Pos, Tick, Delta> Send for RotaryEncoder<Pos, Tick, Delta>
impl<Pos, Tick, Delta> Sync for RotaryEncoder<Pos, Tick, Delta>
impl<Pos, Tick, Delta> Unpin for RotaryEncoder<Pos, Tick, Delta>
impl<Pos, Tick, Delta> UnwindSafe for RotaryEncoder<Pos, Tick, Delta>
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