pub trait SpecializedMeshPipeline {
type Key: Clone + Hash + PartialEq + Eq;
// Required method
fn specialize(
&self,
key: Self::Key,
layout: &Hashed<InnerMeshVertexBufferLayout>
) -> Result<RenderPipelineDescriptor, SpecializedMeshPipelineError>;
}
Required Associated Types§
Required Methods§
fn specialize( &self, key: Self::Key, layout: &Hashed<InnerMeshVertexBufferLayout> ) -> Result<RenderPipelineDescriptor, SpecializedMeshPipelineError>
Object Safety§
This trait is not object safe.