pub enum DigitalAxisReverse {
Snap,
InstantReverse,
}Expand description
Modifier applied when input is received in the opposite direction of the current flow.
Variants§
Snap
Snap axis value to 0 and continue from there.
InstantReverse
Reverse the current value to the opposite sign and continue from there.
Trait Implementations§
Source§impl Clone for DigitalAxisReverse
impl Clone for DigitalAxisReverse
Source§fn clone(&self) -> DigitalAxisReverse
fn clone(&self) -> DigitalAxisReverse
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 moreAuto Trait Implementations§
impl Freeze for DigitalAxisReverse
impl RefUnwindSafe for DigitalAxisReverse
impl Send for DigitalAxisReverse
impl Sync for DigitalAxisReverse
impl Unpin for DigitalAxisReverse
impl UnwindSafe for DigitalAxisReverse
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