pub trait Transitioning:
Send
+ Sync
+ 'static {
// Required method
fn body(&self, content: ViewHandle, phase: TransitionPhase) -> ViewHandle;
}Expand description
How a transition draws in each phase.
Required Methods§
Sourcefn body(&self, content: ViewHandle, phase: TransitionPhase) -> ViewHandle
fn body(&self, content: ViewHandle, phase: TransitionPhase) -> ViewHandle
Draw the content for one phase.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".