Struct slab::Entry [] [src]

pub struct Entry<'a, T: 'a, I: 'a> { /* fields omitted */ }
[]

A handle to an occupied slot in the Slab

Methods

impl<'a, T, I: From<usize> + Into<usize>> Entry<'a, T, I>
[src]

[]

Replace the value stored in the entry

[]

Apply the function to the current value, replacing it with the result of the function.

[]

Remove and return the value stored in the entry

[]

Get a reference to the value stored in the entry

[]

Get a mutable reference to the value stored in the entry

[]

Convert the entry handle to a mutable reference

[]

Return the entry index