pub trait ClonableTrait: Clonable + DowncastTrait {
// Provided methods
fn clone_to(&self, dst: &mut Self) { ... }
fn move_to(&mut self, dst: &mut Self) { ... }
}Expand description
Trait for trait objects whose concrete type can be cloned and moved.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".