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

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

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§