pub enum InteractionSourceMode {
Disabled,
EnabledWithInertia,
EnabledWithoutInertia,
}Expand description
How the input of a source drives an axis (InteractionSourceMode).
Variants§
Disabled
The input does not drive the axis.
EnabledWithInertia
The input drives the axis and the release coasts in inertia.
EnabledWithoutInertia
The input drives the axis and the release does not coast.
Trait Implementations§
Source§impl Clone for InteractionSourceMode
impl Clone for InteractionSourceMode
impl Copy for InteractionSourceMode
Source§impl Debug for InteractionSourceMode
impl Debug for InteractionSourceMode
Source§impl Default for InteractionSourceMode
impl Default for InteractionSourceMode
impl Eq for InteractionSourceMode
Source§impl Hash for InteractionSourceMode
impl Hash for InteractionSourceMode
Source§impl PartialEq for InteractionSourceMode
impl PartialEq for InteractionSourceMode
impl StructuralPartialEq for InteractionSourceMode
Auto Trait Implementations§
impl Freeze for InteractionSourceMode
impl RefUnwindSafe for InteractionSourceMode
impl Send for InteractionSourceMode
impl Sync for InteractionSourceMode
impl Unpin for InteractionSourceMode
impl UnsafeUnpin for InteractionSourceMode
impl UnwindSafe for InteractionSourceMode
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more