pub struct DisplacementThreshold<T>where
T: Float,{
pub target: T,
pub sensitivity: T,
}Expand description
This threshold evaluates to true if the displacement of a running animation drops below the given threshold value.
Fields§
§target: TThis is the target value of an animation.
sensitivity: TThis is the sensitivity of this threshold.
Trait Implementations§
Source§impl<T> Threshold for DisplacementThreshold<T>where
T: Float,
impl<T> Threshold for DisplacementThreshold<T>where
T: Float,
Auto Trait Implementations§
impl<T> Freeze for DisplacementThreshold<T>where
T: Freeze,
impl<T> RefUnwindSafe for DisplacementThreshold<T>where
T: RefUnwindSafe,
impl<T> Send for DisplacementThreshold<T>where
T: Send,
impl<T> Sync for DisplacementThreshold<T>where
T: Sync,
impl<T> Unpin for DisplacementThreshold<T>where
T: Unpin,
impl<T> UnwindSafe for DisplacementThreshold<T>where
T: UnwindSafe,
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