[][src]Struct moving_gc_arena::MutEntry

pub struct MutEntry<'a, T> { /* fields omitted */ }

Methods

impl<'a, T> MutEntry<'a, T>[src]

pub fn to_root(self) -> Root<T>[src]

Convert this borrowed entry into a permanent root.

The root may be cloned after creation, but only one entry can be created via this method.

pub fn weak(&mut self) -> Weak<T>[src]

Create a weak pointer, which can be used to access a consistent location in the region, but does not act as a root for garbage collection

pub fn ix(&self) -> Ix<T>[src]

pub fn as_ref(&self) -> &T[src]

pub fn as_mut_ref(&mut self) -> &mut T[src]

Auto Trait Implementations

impl<'a, T> !RefUnwindSafe for MutEntry<'a, T>

impl<'a, T> !Send for MutEntry<'a, T>

impl<'a, T> !Sync for MutEntry<'a, T>

impl<'a, T> Unpin for MutEntry<'a, T>

impl<'a, T> !UnwindSafe for MutEntry<'a, T>

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.