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]

[src]

Replace the value stored in the entry

[src]

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

[src]

Remove and return the value stored in the entry

[src]

Get a reference to the value stored in the entry

[src]

Get a mutable reference to the value stored in the entry

[src]

Convert the entry handle to a mutable reference

[src]

Return the entry index