Struct tween::QuintInOut
source · pub struct QuintInOut;
Expand description
An quintic tween in out. Go here for a visual demonstration.
Implementations§
source§impl QuintInOut
impl QuintInOut
Trait Implementations§
source§impl Clone for QuintInOut
impl Clone for QuintInOut
source§fn clone(&self) -> QuintInOut
fn clone(&self) -> QuintInOut
Returns a copy 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 moresource§impl Debug for QuintInOut
impl Debug for QuintInOut
source§impl Default for QuintInOut
impl Default for QuintInOut
source§fn default() -> QuintInOut
fn default() -> QuintInOut
Returns the “default value” for a type. Read more
source§impl Ord for QuintInOut
impl Ord for QuintInOut
source§fn cmp(&self, other: &QuintInOut) -> Ordering
fn cmp(&self, other: &QuintInOut) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for QuintInOut
impl PartialEq for QuintInOut
source§fn eq(&self, other: &QuintInOut) -> bool
fn eq(&self, other: &QuintInOut) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for QuintInOut
impl PartialOrd for QuintInOut
source§fn partial_cmp(&self, other: &QuintInOut) -> Option<Ordering>
fn partial_cmp(&self, other: &QuintInOut) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<Value> Tween<Value> for QuintInOutwhere
Value: TweenValue,
impl<Value> Tween<Value> for QuintInOutwhere
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 QuintInOut
impl Eq for QuintInOut
impl StructuralPartialEq for QuintInOut
Auto Trait Implementations§
impl Freeze for QuintInOut
impl RefUnwindSafe for QuintInOut
impl Send for QuintInOut
impl Sync for QuintInOut
impl Unpin for QuintInOut
impl UnwindSafe for QuintInOut
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