slots 0.4.0

Fixed size data structure with constant-time operations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! **Ignore me!** This file contains implementation details
//! that are conceptually private but must be technically public.

#[doc(hidden)]
pub enum Entry<IT> {
    Used(IT),
    EmptyNext(usize),
    EmptyLast,
}

impl<IT> Default for Entry<IT> {
    fn default() -> Self {
        Entry::EmptyLast
    }
}