pub struct FlippedTweenSequence { /* private fields */ }Expand description
Enables creating a flipped animation whose value is defined by a sequence of tweens.
Implementations§
Source§impl FlippedTweenSequence
impl FlippedTweenSequence
Sourcepub fn new(items: Vec<TweenSequenceItem<f64>>) -> FlippedTweenSequence
pub fn new(items: Vec<TweenSequenceItem<f64>>) -> FlippedTweenSequence
Creates a flipped TweenSequence.
Trait Implementations§
Source§impl Animatable<f64> for FlippedTweenSequence
impl Animatable<f64> for FlippedTweenSequence
Source§fn transform(&self, app: &App, t: f64) -> f64
fn transform(&self, app: &App, t: f64) -> f64
Returns the value of the object at point
t. Read moreSource§fn evaluate(&self, app: &App, animation: AnyAnimation<f64>) -> Twhere
Self: Sized,
fn evaluate(&self, app: &App, animation: AnyAnimation<f64>) -> Twhere
Self: Sized,
The current value of this object for the given animation. Read more
Source§fn animate(
self,
app: &mut App,
parent: Retained<AnyAnimation<f64>>,
) -> Retained<AnyAnimation<T>>
fn animate( self, app: &mut App, parent: Retained<AnyAnimation<f64>>, ) -> Retained<AnyAnimation<T>>
Returns a new animation that is driven by the given animation but
that takes on values determined by this object. The new animation keeps
parent; whoever keeps the result keeps both.Source§fn chain<P>(self, parent: P) -> ChainedEvaluation<P, Self>
fn chain<P>(self, parent: P) -> ChainedEvaluation<P, Self>
Returns a new
Animatable whose value is determined by first
evaluating the given parent and then evaluating this object at the
result.Source§impl Clone for FlippedTweenSequence
impl Clone for FlippedTweenSequence
Source§fn clone(&self) -> FlippedTweenSequence
fn clone(&self) -> FlippedTweenSequence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for FlippedTweenSequence
impl !Send for FlippedTweenSequence
impl !Sync for FlippedTweenSequence
impl !UnwindSafe for FlippedTweenSequence
impl Forget for FlippedTweenSequence
impl Freeze for FlippedTweenSequencewhere
*const RcInner<[TweenSequenceItem<f64>]> is !null: Freeze,
PhantomData<RcInner<[TweenSequenceItem<f64>]>>: Freeze,
*const RcInner<[Interval]> is !null: Freeze,
PhantomData<RcInner<[Interval]>>: Freeze,
impl Move for FlippedTweenSequence
impl Unpin for FlippedTweenSequence
impl UnsafeUnpin for FlippedTweenSequencewhere
*const RcInner<[TweenSequenceItem<f64>]> is !null: UnsafeUnpin,
PhantomData<RcInner<[TweenSequenceItem<f64>]>>: UnsafeUnpin,
*const RcInner<[Interval]> is !null: UnsafeUnpin,
PhantomData<RcInner<[Interval]>>: UnsafeUnpin,
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