Trait collections::borrow::IntoCow
[−]
[src]
pub trait IntoCow<'a, B: ?Sized> where B: ToOwned {
fn into_cow(self) -> Cow<'a, B>;
}Unstable
: may be replaced by convert::Into`convert::Into`
Trait for moving into a Cow`Cow`.
Required Methods
fn into_cow(self) -> Cow<'a, B>
Unstable
: may be replaced by convert::Into`convert::Into`
Moves self`selfinto` into Cow`Cow`