Trait IntoOwned
pub trait IntoOwned {
type Owned: 'static;
// Required method
fn into_owned(self) -> Self::Owned;
}
Expand description
Trait implemented by types that can be converted into owned versions of themselves.
Required Associated Types§
type Owned: 'static
type Owned: 'static
The owned version of the type.
Required Methods§
fn into_owned(self) -> Self::Owned
fn into_owned(self) -> Self::Owned
Converts self
into an owned version of itself.