pub enum InteractionTrackerState {
Idle,
Interacting,
Inertia,
CustomAnimation,
}Expand description
The states of an InteractionTracker.
WinUI has no public state property; the state is known through the
owner callbacks. The port exposes it as InteractionTracker::state.
Variants§
Idle
Nothing moves the tracker.
Interacting
A source drives the tracker with input.
Inertia
The tracker coasts to its resting values.
CustomAnimation
A custom animation moves the tracker
(TryUpdatePositionWithAnimation, TryUpdateScaleWithAnimation).
Trait Implementations§
Source§impl Clone for InteractionTrackerState
impl Clone for InteractionTrackerState
impl Copy for InteractionTrackerState
Source§impl Debug for InteractionTrackerState
impl Debug for InteractionTrackerState
Source§impl Default for InteractionTrackerState
impl Default for InteractionTrackerState
impl Eq for InteractionTrackerState
Source§impl Hash for InteractionTrackerState
impl Hash for InteractionTrackerState
Source§impl PartialEq for InteractionTrackerState
impl PartialEq for InteractionTrackerState
impl StructuralPartialEq for InteractionTrackerState
Auto Trait Implementations§
impl Freeze for InteractionTrackerState
impl RefUnwindSafe for InteractionTrackerState
impl Send for InteractionTrackerState
impl Sync for InteractionTrackerState
impl Unpin for InteractionTrackerState
impl UnsafeUnpin for InteractionTrackerState
impl UnwindSafe for InteractionTrackerState
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