fn owned<'a, T, R>(&'a self) -> Vec<R>
    where
        // Important constraints are:
        // * Self::Item == &'a T
        // * Borrow<T> == R
        Self::Item: TEq<&'a T>,
        R: Borrow<T>,
        T: ToOwned<Owned = R>,
        T: 'a,
        T: ?Sized,
    {
        self.map(|x| (*x.teq_ref()).to_owned())
    }
/// Take ownership of each item in the vector using `to_owned`. For example:
///
/// ```
/// use gazebo::prelude::*;
/// let xs: &[&str] = &["hello", "world"];
/// let ys: Vec<String> = xs.owned();
/// ```
Take ownership of each item in the vector using `to_owned`.
Take ownership of each item in the vector using ` to_owned ` .
fn owned<'a, T, R>(&'a self) -> Vec<R>
    where
        // Important constraints are:
        // * Self::Item == &'a T
        // * Borrow<T> == R
        Self::Item: TEq<&'a T>,
        R: Borrow<T>,
        T: ToOwned<Owned = R>,
        T: 'a,
        T: ?Sized,
    {
        self.map(|x| (*x.teq_ref()).to_owned())
    }
fn owned < ' a , T , R > ( & ' a self ) -> Vec < R > where // Important constraints are: // * Self::Item == &'a T // * Borrow<T> == R Self :: Item : TEq < & ' a T > , R : Borrow < T > , T : ToOwned < Owned = R > , T : ' a , T : ? Sized , { self . map ( | x | ( * x . teq_ref ( ) ) . to_owned ( ) ) }
Take ownership of each item in the vector using `to_owned`.
Take ownership of each item in the vector using ` to_owned ` .
&'a self
&'a self