pub trait ValueExt<T>: Clone{
// Required methods
fn value_untracked(&self) -> T;
fn map_value<U>(&self, f: impl Fn(&T) -> U + 'static) -> Live<U>
where U: Clone + PartialEq + 'static;
fn animated(self, spec: impl Into<AnimSpec>) -> Live<T>;
fn springed(self, spec: SpringSpec) -> Live<T>;
}Required Methods§
fn value_untracked(&self) -> T
fn map_value<U>(&self, f: impl Fn(&T) -> U + 'static) -> Live<U>
fn animated(self, spec: impl Into<AnimSpec>) -> Live<T>
fn springed(self, spec: SpringSpec) -> Live<T>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".