Skip to content

Implement impl Clone for Box<dyn DynClone> #22

@kodieg

Description

@kodieg

Hi,

I noticed that DynClone is not clone, so it cannot be used to represent any cloneable struct. Would it be possible to just add following macro invocation, to make DynClone cloneable on it's own?

dyn_clone::clone_trait_object!(DynClone);

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions