EventQueue

Trait EventQueue 

Source
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§

Source

fn push(&mut self, data: NodeEventType)

Push an event to the queue.

Provided Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl EventQueue for Vec<NodeEventType>

Source§

fn push(&mut self, data: NodeEventType)

Implementors§