[][src]Trait swim_mem::alloc::TryClone

pub trait TryClone: Sized {
    fn try_clone(&self) -> Result<Self, HoldError>;
}

Failable clone.

Required methods

fn try_clone(&self) -> Result<Self, HoldError>

Returns a clone of self; returns an error if the clone fails.

Loading content...

Implementations on Foreign Types

impl TryClone for f16[src]

impl<T: TryClone> TryClone for Option<T>[src]

Loading content...

Implementors

impl TryClone for ()[src]

impl TryClone for bool[src]

impl TryClone for char[src]

impl TryClone for f32[src]

impl TryClone for f64[src]

impl TryClone for i8[src]

impl TryClone for i16[src]

impl TryClone for i32[src]

impl TryClone for i64[src]

impl TryClone for isize[src]

impl TryClone for u8[src]

impl TryClone for u16[src]

impl TryClone for u32[src]

impl TryClone for u64[src]

impl TryClone for usize[src]

impl<'a, R: Resident> TryClone for Hard<'a, R>[src]

impl<'a, R: Resident> TryClone for Ref<'a, R>[src]

impl<'a, R: Resident> TryClone for Soft<'a, R>[src]

impl<'a, R: ResidentClone<Ptr<'a, R>, Ptr<'a, R>>> TryClone for Ptr<'a, R>[src]

impl<'a, R: ResidentClone<Raw<'a, R>, Raw<'a, R>>> TryClone for Raw<'a, R>[src]

impl<M: TryClone> TryClone for BufHeader<M>[src]

impl<T0, T1> TryClone for (T0, T1) where
    T0: TryClone,
    T1: TryClone
[src]

impl<T0, T1, T2> TryClone for (T0, T1, T2) where
    T0: TryClone,
    T1: TryClone,
    T2: TryClone
[src]

impl<T0, T1, T2, T3> TryClone for (T0, T1, T2, T3) where
    T0: TryClone,
    T1: TryClone,
    T2: TryClone,
    T3: TryClone
[src]

Loading content...