Skip to main content

KvasirNode

Trait KvasirNode 

Source
pub trait KvasirNode: Send + Sync {
    // Required methods
    fn label(&self) -> &'static str;
    fn inputs(&self) -> &[ResourceId];
    fn outputs(&self) -> &[ResourceId];
    fn pass_id(&self) -> PassId;
    fn execute(&self, ctx: &mut ExecutionContext<'_>);
}

Required Methods§

Source

fn label(&self) -> &'static str

Source

fn inputs(&self) -> &[ResourceId]

Source

fn outputs(&self) -> &[ResourceId]

Source

fn pass_id(&self) -> PassId

Source

fn execute(&self, ctx: &mut ExecutionContext<'_>)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§