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§
fn label(&self) -> &'static str
fn inputs(&self) -> &[ResourceId]
fn outputs(&self) -> &[ResourceId]
fn pass_id(&self) -> PassId
fn execute(&self, ctx: &mut ExecutionContext<'_>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".