Crate clone_dyn

Crate clone_dyn 

Source
Expand description

Dynamic cloning utilities

Modules§

dependency
Namespace with dependencies.
exposed
Exposed namespace of the module.
orphan
Orphan namespace of the module.
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module::prelude::*.

Traits§

CloneDyn
A trait to upcast a clonable entity and clone it. It’s implemented for all entities which can be cloned.

Functions§

clone
True clone which is applicable not only to clonable entities, but to trait objects implementing CloneDyn.
clone_into_box
Clone boxed dyn.

Attribute Macros§

clone_dyn
Derive macro for CloneDyn trait.