2 releases

new 0.9.2 Jan 24, 2025
0.9.0 Dec 24, 2019

#6 in #clonable

Download history 52825/week @ 2024-10-08 55833/week @ 2024-10-15 56603/week @ 2024-10-22 52078/week @ 2024-10-29 60113/week @ 2024-11-05 50200/week @ 2024-11-12 49970/week @ 2024-11-19 49481/week @ 2024-11-26 49727/week @ 2024-12-03 48248/week @ 2024-12-10 39739/week @ 2024-12-17 17651/week @ 2024-12-24 26836/week @ 2024-12-31 44220/week @ 2025-01-07 62620/week @ 2025-01-14 46680/week @ 2025-01-21

186,004 downloads per month
Used in 738 crates (via dyn-clonable)

MIT license

4KB

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

~215–660KB
~16K SLoC