pub trait DrawFunctionLabel:
Send
+ Sync
+ Debug
+ DynEq
+ DynHash {
// Required method
fn dyn_clone(&self) -> Box<dyn DrawFunctionLabel>;
// Provided method
fn intern(&self) -> Interned<dyn DrawFunctionLabel>
where Self: Sized { ... }
}
Expand description
Labels used to uniquely identify types of material shaders
Required Methods§
Sourcefn dyn_clone(&self) -> Box<dyn DrawFunctionLabel>
fn dyn_clone(&self) -> Box<dyn DrawFunctionLabel>
Clones this DrawFunctionLabel
.