pub struct Morph<T: MorphRequirement> {
src: T,
dst: T,
aligned_src: T,
aligned_dst: T,
}Expand description
Morph Anim
Fields§
§src: T§dst: T§aligned_src: T§aligned_dst: TImplementations§
Trait Implementations§
Source§impl<T: MorphRequirement> Eval for Morph<T>
impl<T: MorphRequirement> Eval for Morph<T>
Source§fn eval_alpha(&self, alpha: f64) -> Self::Output
fn eval_alpha(&self, alpha: f64) -> Self::Output
Evaluate the segment’s content at normalized progress
alpha.Auto Trait Implementations§
impl<T> Freeze for Morph<T>where
T: Freeze,
impl<T> RefUnwindSafe for Morph<T>where
T: RefUnwindSafe,
impl<T> Send for Morph<T>where
T: Send,
impl<T> Sync for Morph<T>where
T: Sync,
impl<T> Unpin for Morph<T>where
T: Unpin,
impl<T> UnsafeUnpin for Morph<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Morph<T>where
T: UnwindSafe,
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
impl<T> ConditionalSend for Twhere
T: Send,
Source§impl<E> EvalExt for Ewhere
E: Eval,
impl<E> EvalExt for Ewhere
E: Eval,
Source§fn apply_alpha_to(self, item: &mut Self::Output, alpha: f64) -> Self
fn apply_alpha_to(self, item: &mut Self::Output, alpha: f64) -> Self
Write the state at progress
alpha into item and return this
evaluator (defined through eval_alpha).Source§fn apply_to(self, item: &mut Self::Output) -> Self
fn apply_to(self, item: &mut Self::Output) -> Self
Write the end state (
alpha == 1.0) into item and return this
evaluator (defined through EvalExt::apply_alpha_to).§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<E> IntoAnimNode for E
impl<E> IntoAnimNode for E
Source§fn into_anim_node(self) -> AnimNode
fn into_anim_node(self) -> AnimNode
Lower this definition into its local runtime representation.
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.
§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<A> PlaybackExt for Awhere
A: Unplaced,
impl<A> PlaybackExt for Awhere
A: Unplaced,
Source§fn with_rate_func(self, rate_func: fn(f64) -> f64) -> Paramed<Self>
fn with_rate_func(self, rate_func: fn(f64) -> f64) -> Paramed<Self>
Change the animation’s rate function.
Source§fn with_duration(self, duration_secs: f64) -> Paramed<Self>
fn with_duration(self, duration_secs: f64) -> Paramed<Self>
Change the animation’s duration.
Source§fn with_enabled(self, enabled: bool) -> Paramed<Self>
fn with_enabled(self, enabled: bool) -> Paramed<Self>
Enable or disable this animation’s output.
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> TransformedExt for T
impl<T> TransformedExt for T
Source§fn transformed<G>(self, transform: G) -> Transformed<Self, G>
fn transformed<G>(self, transform: G) -> Transformed<Self, G>
Return
self wrapped with transform stored exactly as G.