Skip to main content

Dispatchable

Trait Dispatchable 

Source
pub trait Dispatchable {
    // Required methods
    fn init(&mut self) -> Result<(), ()>;
    fn dispatch(&self, node: &XFlowNode, state: &mut XFState) -> Result<(), ()>;
}

Required Methods§

Source

fn init(&mut self) -> Result<(), ()>

Source

fn dispatch(&self, node: &XFlowNode, state: &mut XFState) -> Result<(), ()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§