Trait qecs_core::IdWithIndex [] [src]

pub trait IdWithIndex: Id {
    fn max_index() -> usize;
    fn index(&self) -> usize;
}

For ids which closely mirror the total entity count. Ids may either have an indexable-part or consist entirely of it.

TODO: naming. Index? Indexable...?

Required Methods

Implementors