Struct thread_local_object::VacantEntry
[−]
[src]
pub struct VacantEntry<'a, T: 'static>(_, _);
A view into a thread's slot in a ThreadLocal
which is unoccupied.
Methods
impl<'a, T: 'static> VacantEntry<'a, T>
[src]
fn insert(self, value: T) -> &'a mut T
Sets the value of the entry, and returns a mutable reference to it.