clone_cell 0.4.2

A Cell that works with a restrictive form of Clone
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use clone_cell::clone::PureClone;

#[derive(PureClone)]
struct Foo;

impl Clone for Foo {
    fn clone(&self) -> Self {
        Self {}
    }
}

fn main() {}