Trait DeepClone

Source
pub trait DeepClone
where 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§

Source

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.

Implementors§