pub trait ToOwned {
type Owned;
// Required method
fn to_owned(&self) -> Self::Owned;
}Expand description
Copy the structure and clone the original values.
This is always a deep copy.
pub trait ToOwned {
type Owned;
// Required method
fn to_owned(&self) -> Self::Owned;
}Copy the structure and clone the original values.
This is always a deep copy.