pub trait SpecializedMeshPipeline {
    type Key: Clone + Hash + PartialEq + Eq;

    // Required method
    fn specialize(
        &self,
        key: Self::Key,
        layout: &MeshVertexBufferLayoutRef,
    ) -> Result<RenderPipelineDescriptor, SpecializedMeshPipelineError>;
}

Required Associated Types§

type Key: Clone + Hash + PartialEq + Eq

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§