pub trait DeepClonewhere
Self: WrappedBlCore,
<Self as WrappedBlCore>::Core: Copy + 'static,{
// Provided method
fn clone_deep(&self) -> Self { ... }
}Expand description
A trait for deep cloning the object. This is different from Clone for blObjects in the regard that normal cloning only creates a weak reference-counted clone.
Provided Methods§
Sourcefn clone_deep(&self) -> Self
fn clone_deep(&self) -> Self
Returns a deeply cloned copy of the value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.