1 unstable release

0.9.0 Dec 24, 2019

#1 in #clonable

Download history 52312/week @ 2024-08-03 63966/week @ 2024-08-10 44251/week @ 2024-08-17 53746/week @ 2024-08-24 58555/week @ 2024-08-31 55354/week @ 2024-09-07 49887/week @ 2024-09-14 54057/week @ 2024-09-21 55279/week @ 2024-09-28 55710/week @ 2024-10-05 53572/week @ 2024-10-12 58612/week @ 2024-10-19 50044/week @ 2024-10-26 62141/week @ 2024-11-02 50499/week @ 2024-11-09 51643/week @ 2024-11-16

224,558 downloads per month
Used in 730 crates (28 directly)

MIT license

3KB

dyn-clonable

Provides a proc_macro attribute wrapper for dyn-clone.

Usage

use dyn_clonable::*;

#[clonable]
trait MyTrait: Clone {
    fn recite(&self);
}

For additional information, see dtolnay's dyn-clone.

License: MIT

Dependencies

~1.5MB
~37K SLoC