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§
fn specialize( &self, key: Self::Key, layout: &MeshVertexBufferLayout ) -> Result<RenderPipelineDescriptor, SpecializedMeshPipelineError>
Object Safety§
This trait is not object safe.