MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / EventQueue

Interface EventQueue

crates/firewheel-core/src/diff/mod.rs:694–709  ·  view source on GitHub ↗

An event queue for diffing.

Source from the content-addressed store, hash-verified

692
693/// An event queue for diffing.
694pub trait EventQueue {
695 /// Push an event to the queue.
696 fn push(&mut self, data: NodeEventType);
697
698 /// Push an event to the queue.
699 ///
700 /// This is a convenience method for constructing a [`NodeEventType`]
701 /// from param data and a path.
702 #[inline(always)]
703 fn push_param(&mut self, data: impl Into<ParamData>, path: PathBuilder) {
704 self.push(NodeEventType::Param {
705 data: data.into(),
706 path: path.build(),
707 });
708 }
709}
710
711impl EventQueue for Vec<NodeEventType> {
712 fn push(&mut self, data: NodeEventType) {

Callers 7

diffMethod · 0.80
diffMethod · 0.80
diffMethod · 0.80
diffMethod · 0.80
diffMethod · 0.80
diffMethod · 0.80
diffMethod · 0.80

Implementers 2

mod.rscrates/firewheel-core/src/diff/mod.rs
context.rscrates/firewheel-graph/src/context.rs

Calls

no outgoing calls

Tested by

no test coverage detected