pub trait WiredWidget<M>: Widget<Tag = Option<Path>, Meta = M> {
type Flow: Flow;
// Provided methods
fn state_changed(&mut self, _reloaded: bool, _ctx: &mut Context<Self>) { ... }
fn state_update(
&mut self,
_tag: &Path,
_event: &<Self::Flow as Flow>::Event,
_reloaded: &mut bool,
_ctx: &mut Context<Self>,
) { ... }
}
Required Associated Types§
Provided Methods§
fn state_changed(&mut self, _reloaded: bool, _ctx: &mut Context<Self>)
fn state_update( &mut self, _tag: &Path, _event: &<Self::Flow as Flow>::Event, _reloaded: &mut bool, _ctx: &mut Context<Self>, )
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.