Struct containerof::BorrowBoxMut [] [src]

pub struct BorrowBoxMut<'a, T: 'a> where
    T: Intrusive
{ /* fields omitted */ }

A mutable borrow-pointer that does not require explicit ownership of the value being borrowed. Used to allow construction of the Intrusive structure translation type from a mutable borrow pointer.

Methods

impl<'a, T> BorrowBoxMut<'a, T> where
    T: Intrusive
[src]

Build a BorrowBoxMut from a borrow pointer.

Build a BorrowBoxMut from a raw pointer and a lifetime. Unsafe, because this API cannot guarantee that the pointer value is of the same type as the destination borrow box.

Trait Implementations

impl<'a, T: Debug + 'a> Debug for BorrowBoxMut<'a, T> where
    T: Intrusive
[src]

Formats the value using the given formatter.

impl<'a, T> Deref for BorrowBoxMut<'a, T> where
    T: Intrusive
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'a, T> DerefMut for BorrowBoxMut<'a, T> where
    T: Intrusive
[src]

The method called to mutably dereference a value