[][src]Trait alloc_wg::clone::CloneIn

pub trait CloneIn<A: AllocRef>: Sized {
    type Cloned;
    fn clone_in(&self, a: A) -> Self::Cloned;
fn try_clone_in(&self, a: A) -> Result<Self::Cloned, TryReserveError>; }

Associated Types

type Cloned

Loading content...

Required methods

fn clone_in(&self, a: A) -> Self::Cloned

fn try_clone_in(&self, a: A) -> Result<Self::Cloned, TryReserveError>

Loading content...

Implementors

impl<A: AllocRef, B: AllocRef> CloneIn<B> for String<A>[src]

type Cloned = String<B>

impl<T: Clone, A: AllocRef, B: AllocRef> CloneIn<B> for Box<T, A>[src]

type Cloned = Box<T, B>

impl<T: Clone, A: AllocRef, B: AllocRef> CloneIn<B> for Vec<T, A>[src]

type Cloned = Vec<T, B>

Loading content...