1 2 3 4 5 6 7 8
mod imp; /** * Clone function but only does cheap ref-cloning like rc */ pub trait RefClonable { fn refc(&self) -> Self; }
1 2 3 4 5 6 7 8
mod imp; /** * Clone function but only does cheap ref-cloning like rc */ pub trait RefClonable { fn refc(&self) -> Self; }