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

pub trait IntoCow<'a, B> where B: ToOwned + ?Sized {
    fn into_cow(self) -> Cow<'a, B>;
}
Deprecated since 1.7.0

: conflicts with Into, may return with specialization

Trait for moving into a Cow.

Required Methods

fn into_cow(self) -> Cow<'a, B>

Deprecated since 1.7.0

: conflicts with Into, may return with specialization

Moves self into Cow

Implementors