SceneTransition
struct · ferroui-controls-livecharts · v0.5.0
struct SceneTransition
A transition between two complete, immutable measured scenes.
Retarget by passing Rc::new(previous.sample(now_ms)) as the next from
scene. The first sample of the new transition is exactly that scene, including
partially faded primitives; no geometry jumps back to its previous target.
Members
new
fn new(from: Rc<Scene>, to: Rc<Scene>, started_ms: f64, duration_ms: f64) -> Self
with_easing
fn with_easing(self: Self, easing: EasingFunction) -> Self
is_completed
fn is_completed(self: &Self, now_ms: f64) -> bool
sample
fn sample(self: &Self, now_ms: f64) -> Scene
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.