pub struct ExpoInOut;Expand description
An exponenential tween in and out. See here
Implementations§
Trait Implementations§
Source§impl Ord for ExpoInOut
impl Ord for ExpoInOut
Source§impl PartialOrd for ExpoInOut
impl PartialOrd for ExpoInOut
Source§impl<Value> Tween<Value> for ExpoInOutwhere
Value: TweenValue,
impl<Value> Tween<Value> for ExpoInOutwhere
Value: TweenValue,
Source§fn tween(&mut self, value_delta: Value, percent_time: f32) -> Value
fn tween(&mut self, value_delta: Value, percent_time: f32) -> Value
Returns a new value based on the value_delta and the percent. Read more
Source§fn is_finite(&self) -> bool
fn is_finite(&self) -> bool
All Tweens in this library use this default method, except Looper and Oscillator, which
which are both unbounded (because they never stop returning values), and Extrapolator,
which simply unbounds tweens. Read more
impl Copy for ExpoInOut
impl Eq for ExpoInOut
impl StructuralPartialEq for ExpoInOut
Auto Trait Implementations§
impl Freeze for ExpoInOut
impl RefUnwindSafe for ExpoInOut
impl Send for ExpoInOut
impl Sync for ExpoInOut
impl Unpin for ExpoInOut
impl UnsafeUnpin for ExpoInOut
impl UnwindSafe for ExpoInOut
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