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§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".