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