Trait into_owned::IntoOwned [−][src]
pub trait IntoOwned<T: ?Sized + ToOwned>: Borrow<T> {
fn into_owned(self) -> T::Owned;
}
Expand description
Extension to ToOwned
. Avoiding clones where possible
pub trait IntoOwned<T: ?Sized + ToOwned>: Borrow<T> {
fn into_owned(self) -> T::Owned;
}
Extension to ToOwned
. Avoiding clones where possible