StateBehavior
struct · ferroui-livecharts · v0.5.0
struct StateBehavior
Inline state behavior. Omitted actions are no-ops.
Members
on_applied
on_applied: Option<StateCallback>
on_removed
on_removed: Option<StateCallback>
new
fn new(on_applied: Option<StateCallback>, on_removed: Option<StateCallback>) -> Self
applied
fn applied(self: Self, callback: impl Fn(&mut Animatable, f64) -> () + 'static) -> Self
removed
fn removed(self: Self, callback: impl Fn(&mut Animatable, f64) -> () + 'static) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherCloneDefaultDebugIStateBehavior
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.