Trait std::str::IntoMaybeOwnedDeprecated
[-]
[+]
[src]
pub trait IntoMaybeOwned<'a> {
fn into_maybe_owned(self) -> MaybeOwned<'a>;
}Trait for moving into a MaybeOwned.
Required Methods
fn into_maybe_owned(self) -> MaybeOwned<'a>
Moves self into a MaybeOwned.
Implementors
impl<'a> IntoMaybeOwned<'a> for Stringimpl<'a> IntoMaybeOwned<'a> for &'a strimpl<'a> IntoMaybeOwned<'a> for MaybeOwned<'a>