1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// if anyone is wondering, this is why the crate requires #![feature(specialization)]
/// Allows for cloning types that may or may not be [`Clone`]
///
/// The main use for this is for situations when you have something that *may* want to clone a value,
/// but this is only expressed through runtime dependant operations, and thus cannot have a compile-time restriction
///
/// Please, for the love of god, **do not use this**. it is *very* bad practice
// impl for types that may or may not be clone
// impl for types that are clone (overrides prev impl for these types)