#[repr(transparent)]pub struct Looper<T: ?Sized>(pub T);Expand description
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Source§impl<T: Ord + ?Sized> Ord for Looper<T>
impl<T: Ord + ?Sized> Ord for Looper<T>
Source§impl<T: PartialOrd + ?Sized> PartialOrd for Looper<T>
impl<T: PartialOrd + ?Sized> PartialOrd for Looper<T>
Source§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 and Oscillator, which
which are both unbounded (because they never stop returning values), and Extrapolator,
which simply unbounds tweens. Read more
impl<T: Copy + ?Sized> Copy for Looper<T>
impl<T: Eq + ?Sized> Eq for Looper<T>
impl<T: ?Sized> StructuralPartialEq for Looper<T>
Auto Trait Implementations§
impl<T> Freeze for Looper<T>
impl<T> RefUnwindSafe for Looper<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for Looper<T>
impl<T> Sync for Looper<T>
impl<T> Unpin for Looper<T>
impl<T> UnsafeUnpin for Looper<T>where
T: UnsafeUnpin + ?Sized,
impl<T> UnwindSafe for Looper<T>where
T: UnwindSafe + ?Sized,
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