pub trait DynCloneDraw {
// Required method
fn clone_box(&self) -> Box<dyn DrawCommand>;
}
Expand description
A trait that allows for cloning a trait object.
Required Methods§
Sourcefn clone_box(&self) -> Box<dyn DrawCommand>
fn clone_box(&self) -> Box<dyn DrawCommand>
Creates a boxed clone of the trait object.