#[repr(transparent)]pub struct Looper<T: ?Sized>(pub T);Expand description
Tuple Fields§
§0: TImplementations§
Trait Implementations§
source§impl<T: PartialEq + ?Sized> PartialEq<Looper<T>> for Looper<T>
impl<T: PartialEq + ?Sized> PartialEq<Looper<T>> for Looper<T>
source§impl<T: PartialOrd + ?Sized> PartialOrd<Looper<T>> for Looper<T>
impl<T: PartialOrd + ?Sized> PartialOrd<Looper<T>> for Looper<T>
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, T> Tween<Value> for Looper<T>where
Value: TweenValue,
T: Tween<Value>,
impl<Value, T> Tween<Value> for Looper<T>where
Value: TweenValue,
T: Tween<Value>,
source§fn tween(&mut self, value_delta: Value, percent: f32) -> Value
fn tween(&mut self, value_delta: Value, percent: 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, Oscillator, and
Extrapolator, which are both unbounded (because they never stop returning values). Read more