pub trait CustomBinding: Signal {
// Required method
fn set(&self, value: Self::Output);
}Expand description
The CustomBinding trait represents a computable value that can also be set.
Any type implementing this trait must also implement Signal to provide the
ability to retrieve its current value, and adds the ability to mutate the value.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.