pub trait AnimIterExt: Iterator + Sized {
// Provided methods
fn into_stack(self) -> AnimStack
where Self::Item: IntoAnimNode + 'static { ... }
fn into_seq(self) -> AnimSequence
where Self::Item: Unplaced + 'static { ... }
fn into_lagged(self, lag_ratio: f64) -> AnimLagged
where Self::Item: Unplaced + 'static { ... }
}Expand description
Collect iterators of animations into containers.
Provided Methods§
Sourcefn into_stack(self) -> AnimStackwhere
Self::Item: IntoAnimNode + 'static,
fn into_stack(self) -> AnimStackwhere
Self::Item: IntoAnimNode + 'static,
Collect the animations into an AnimStack (all at the same origin).
Sourcefn into_seq(self) -> AnimSequence
fn into_seq(self) -> AnimSequence
Collect the animations into an AnimSequence (played in order).
Sourcefn into_lagged(self, lag_ratio: f64) -> AnimLagged
fn into_lagged(self, lag_ratio: f64) -> AnimLagged
Collect the animations into an AnimLagged with the given stagger ratio.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".