[−][src]Trait typed_generational_arena::FixedGenerationalIndex
A type which can be used as the index of a generation which may not be able to be incremented
Required methods
fn first_generation() -> Self
Get an object representing the first possible generation
fn generation_lt(&self, other: &Self) -> bool
Compare this generation with another.
Implementors
impl FixedGenerationalIndex for DisableRemoval
[src]
fn first_generation() -> Self
[src]
fn generation_lt(&self, _other: &Self) -> bool
[src]
impl FixedGenerationalIndex for IgnoreGeneration
[src]
fn first_generation() -> Self
[src]
fn generation_lt(&self, _other: &Self) -> bool
[src]
impl<T> FixedGenerationalIndex 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 first_generation() -> Self
[src]
fn generation_lt(&self, other: &Self) -> bool
[src]
impl<T> FixedGenerationalIndex 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,