pub trait ObjectClone {
// Required method
fn obj_clone(&self) -> Box<dyn Object>;
}
Expand description
This is an object-safe version of Clone
, which is automatically
implemented for all Clone + Object
types. This is a support trait used to
allow Object
trait objects to be clonable.