pub trait IntoOwned {
    fn is_owned(&self) -> bool;
    fn into_owned(self) -> Self;
}
Expand description

Trait to convert into an Owned type

Required Methods

Returns if the current type is an owned type.

Transfer the current type into an owned type.

Implementors