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; }