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