[][src]Struct thin_dst::ThinRefMut

pub struct ThinRefMut<'a, Head, SliceItem> { /* fields omitted */ }

Methods

impl<'a, Head, SliceItem> ThinRefMut<'a, Head, SliceItem>[src]

pub unsafe fn from_erased(ptr: ErasedPtr) -> Self[src]

Construct an owned pointer from an erased pointer.

Safety

This pointer must logically own a valid instance of Self.

pub fn erase(this: Self) -> ErasedPtr[src]

Convert this owned pointer into an erased pointer.

To avoid a memory leak the pointer must be converted back using Self::from_erased.

Trait Implementations

impl<'a, Head, SliceItem> Debug for ThinRefMut<'a, Head, SliceItem> where
    &'a ThinData<Head, SliceItem>: Debug
[src]

impl<'a, Head, SliceItem> Deref for ThinRefMut<'a, Head, SliceItem> where
    &'a ThinData<Head, SliceItem>: Deref
[src]

type Target = ThinData<Head, SliceItem>

The resulting type after dereferencing.

impl<'a, Head, SliceItem> DerefMut for ThinRefMut<'a, Head, SliceItem> where
    &'a ThinData<Head, SliceItem>: DerefMut
[src]

impl<'a, Head, SliceItem> Eq for ThinRefMut<'a, Head, SliceItem> where
    &'a ThinData<Head, SliceItem>: Eq
[src]

impl<'a, Head, SliceItem> From<&'a ThinData<Head, SliceItem>> for ThinRefMut<'a, Head, SliceItem>[src]

impl<'a, Head, SliceItem> From<ThinRefMut<'a, Head, SliceItem>> for &'a mut ThinData<Head, SliceItem>[src]

impl<'a, Head, SliceItem> Hash for ThinRefMut<'a, Head, SliceItem> where
    &'a ThinData<Head, SliceItem>: Hash
[src]

impl<'a, Head, SliceItem> PartialEq<&'a ThinData<Head, SliceItem>> for ThinRefMut<'a, Head, SliceItem> where
    &'a ThinData<Head, SliceItem>: PartialEq
[src]

impl<'a, Head, SliceItem> PartialEq<ThinRefMut<'a, Head, SliceItem>> for ThinRefMut<'a, Head, SliceItem> where
    &'a ThinData<Head, SliceItem>: PartialEq
[src]

impl<'a, Head, SliceItem> Send for ThinRefMut<'a, Head, SliceItem> where
    &'a ThinData<Head, SliceItem>: Send
[src]

impl<'a, Head, SliceItem> Sync for ThinRefMut<'a, Head, SliceItem> where
    &'a ThinData<Head, SliceItem>: Sync
[src]

Auto Trait Implementations

impl<'a, Head, SliceItem> Unpin for ThinRefMut<'a, Head, SliceItem>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.