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

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

Associated Types

type Cloned

Loading content...

Required methods

fn clone_in(&self, a: A) -> Self::Cloned where
    A: AllocRef<Error = Never>, 

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

Loading content...

Implementors

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

type Cloned = Box<T, A::BuildAlloc>

Loading content...