pub trait Transition: Send + Sync {
// Required method
fn compose(
&self,
progress: f64,
outgoing: Node,
incoming: Node,
context: &SceneContext<'_>,
) -> Node;
// Provided method
fn easing(&self) -> Easing { ... }
}Expand description
A stateless composition of two already evaluated clip snapshots.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".