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