pub trait EventQueue {
// Required method
fn push(&mut self, data: NodeEventType);
// Provided method
fn push_param(&mut self, data: impl Into<ParamData>, path: PathBuilder) { ... }
}
Expand description
An event queue for diffing.
Required Methods§
Sourcefn push(&mut self, data: NodeEventType)
fn push(&mut self, data: NodeEventType)
Push an event to the queue.
Provided Methods§
Sourcefn push_param(&mut self, data: impl Into<ParamData>, path: PathBuilder)
fn push_param(&mut self, data: impl Into<ParamData>, path: PathBuilder)
Push an event to the queue.
This is a convenience method for constructing a NodeEventType
from param data and a path.
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.