Trait std::borrow::IntoCow [] [src]

pub trait IntoCow<'a, B> where B: ToOwned + ?Sized {
    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`

Implementors