Skip to main content

tempconvert/units/
mod.rs

1use self::{f::F, c::C, k::K};
2
3pub mod f;
4pub mod c;
5pub mod k;
6
7impl Clone for F {
8    fn clone(&self) -> Self {
9        return F(self.0);
10    }
11}
12
13impl Clone for C {
14    fn clone(&self) -> Self {
15        return C(self.0);
16    }
17}
18
19impl Clone for K {
20    fn clone(&self) -> Self {
21        return K(self.0);
22    }
23}