Trait collections::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 String
impl<'a> IntoMaybeOwned<'a> for &'a str
impl<'a> IntoMaybeOwned<'a> for MaybeOwned<'a>