Trait std::borrow::IntoCow
[−]
[src]
pub trait IntoCow<'a, B> where B: ToOwned + ?Sized {
fn into_cow(self) -> Cow<'a, B>;
}Trait for moving into a Cow.
Required Methods
Implementors
impl<'a, B> IntoCow<'a, B> for Cow<'a, B> where B: ToOwned + ?Sizedimpl IntoCow<'static, str> for Stringimpl<'a> IntoCow<'a, str> for &'a strimpl<'a, T> IntoCow<'a, [T]> for Vec<T> where T: 'a + Cloneimpl<'a, T> IntoCow<'a, [T]> for &'a [T] where T: Cloneimpl IntoCow<'static, Path> for PathBufimpl<'a> IntoCow<'a, Path> for &'a Path