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