pub trait Ownit {
type OwnedSelf: 'static;
// Required method
fn into_static(self) -> Self::OwnedSelf;
}Expand description
Trait akin to ToOwned but more general in practice.
Required Associated Types§
Required Methods§
Sourcefn into_static(self) -> Self::OwnedSelf
fn into_static(self) -> Self::OwnedSelf
Makes an owned ('static) version of self