dyn-clonable 0.9.2

Attribute wrapper for dyn-clone
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# dyn-clonable

Provides a proc_macro attribute wrapper for [dyn-clone](https://docs.rs/dyn-clone/*/dyn_clone/).

# Usage

```rust
use dyn_clonable::*;

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

For additional information, see [dtolnay's](https://github.com/dtolnay) [dyn-clone](https://docs.rs/dyn-clone/*/dyn_clone/).

License: MIT