ragnarok::measurer

Trait EventsMeasurerRunner

Source
pub trait EventsMeasurerRunner
where Self: Sized,
{ type Name: NameOfEvent; type Key: NodeKey; type Emmitable: EmmitableEvent<Key = Self::Key, Name = Self::Name>; type Source: SourceEvent<Name = Self::Name>; // Required method fn run( &mut self, source_events: &mut Vec<Self::Source>, nodes_state: &mut NodesState<Self::Key>, focus_id: Option<Self::Key>, ) -> ProcessedEvents<Self::Key, Self::Name, Self::Emmitable, Self::Source>; }

Required Associated Types§

Source

type Name: NameOfEvent

Source

type Key: NodeKey

Source

type Emmitable: EmmitableEvent<Key = Self::Key, Name = Self::Name>

Source

type Source: SourceEvent<Name = Self::Name>

Required Methods§

Source

fn run( &mut self, source_events: &mut Vec<Self::Source>, nodes_state: &mut NodesState<Self::Key>, focus_id: Option<Self::Key>, ) -> ProcessedEvents<Self::Key, Self::Name, Self::Emmitable, Self::Source>

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.

Implementors§