Skip to main content

GpuCompiledNode

Trait GpuCompiledNode 

Source
pub trait GpuCompiledNode:
    Debug
    + Send
    + Sync {
    // Required methods
    fn node_id(&self) -> NodeId;
    fn bind(
        &self,
        ctx: &FrameBindContext<'_>,
        bound: &mut BoundFrame,
    ) -> Result<(), LumenError>;
}

Required Methods§

Source

fn node_id(&self) -> NodeId

Source

fn bind( &self, ctx: &FrameBindContext<'_>, bound: &mut BoundFrame, ) -> Result<(), LumenError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§