aboutsummaryrefslogtreecommitdiff
path: root/src/util/slab/entry.rs
blob: 2e0b10b0fdf9f57f4a1b389fab83fea9751cace0 (plain)
1
2
3
4
5
6
7
use crate::util::slab::Generation;

pub(crate) trait Entry: Default {
    fn generation(&self) -> Generation;

    fn reset(&self, generation: Generation) -> bool;
}