Trait Set
pub trait Set {
type Value;
// Required methods
fn set(&self, value: Self::Value);
fn try_set(&self, value: Self::Value) -> Option<Self::Value>;
}Expand description
Updates the value of the signal by replacing it.
Required Associated Types§
type Value
type Value
The type of the value contained in the signal.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".