pub trait ShallowClone<'a> { type Target; // Required method fn shallow_clone(&'a self) -> Self::Target; }
The same as Clone, but doesnt clone Cow values, instead it just borrows them.
Clone
Cow