Trait moa_signals::Observable
source · pub trait Observable<T> {
// Required methods
fn set_observer<F>(&self, f: F)
where F: Fn(&T) + 'static;
fn notify(&self);
}
Required Methods§
Object Safety§
This trait is not object safe.