[][src]Struct moving_gc_arena::Entry

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

An entry inside the region, allowing access to the underlying value and the index, as well as Root and Weak creation.

Implementations

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

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

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

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

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

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

pub fn reborrow(&mut self) -> Entry<'_, T>[src]

Trait Implementations

impl<'a, T: Debug> Debug for Entry<'a, T>[src]

Auto Trait Implementations

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

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

impl<'a, T> Unpin for Entry<'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.