[−][src]Trait typed_generational_arena::GenerationalIndex
A type which can be used as the index of a generation, which can be incremented
Required methods
fn increment_generation(&mut self)
Increment the generation of this object. May wrap or panic on overflow depending on type.
Implementors
impl GenerationalIndex for IgnoreGeneration
[src]
fn increment_generation(&mut self)
[src]
impl<T> GenerationalIndex for NonzeroGeneration<T> where
T: NonZeroAble + One + Add<Output = T> + Copy + Eq + From<<<T as NonZeroAble>::NonZero as NonZero>::Primitive>,
T::NonZero: PartialOrd + Eq + Copy,
[src]
T: NonZeroAble + One + Add<Output = T> + Copy + Eq + From<<<T as NonZeroAble>::NonZero as NonZero>::Primitive>,
T::NonZero: PartialOrd + Eq + Copy,
fn increment_generation(&mut self)
[src]
impl<T> GenerationalIndex for NonzeroWrapGeneration<T> where
T: NonZeroAble + One + Zero + Copy + Eq + WrappingAdd + From<<<T as NonZeroAble>::NonZero as NonZero>::Primitive>,
T::NonZero: PartialOrd + Eq + Copy,
[src]
T: NonZeroAble + One + Zero + Copy + Eq + WrappingAdd + From<<<T as NonZeroAble>::NonZero as NonZero>::Primitive>,
T::NonZero: PartialOrd + Eq + Copy,