pub trait GenericCow where
    Self: Sized,
    Self: Deref<Target = Self::Borrowed>,
    Self: Borrow<Self::Borrowed>, 
{ type Borrowed: ?Sized + ToOwned; fn into_owned(self) -> <Self::Borrowed as ToOwned>::Owned; }
Expand description

Generalized Cow

impl GenericCow<Borrowed = B> is a generalization of:

Required Associated Types

Borrowed type

Required Methods

Convert into owned type

Implementations on Foreign Types

Implementors