Trait static_self::IntoOwned
source · pub trait IntoOwned<'any> {
type Owned: 'any;
// Required method
fn into_owned(self) -> Self::Owned;
}
Expand description
A trait for things that can be cloned with a new lifetime.
'any
lifeitme means the output should have 'static
lifetime.
Required Associated Types§
Required Methods§
sourcefn into_owned(self) -> Self::Owned
fn into_owned(self) -> Self::Owned
Make lifetime of self
'static
.