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.
pub trait Set {
type Value;
// Required methods
fn set(&self, value: Self::Value);
fn try_set(&self, value: Self::Value) -> Option<Self::Value>;
}
Updates the value of the signal by replacing it.