pub trait LastId {
    unsafe fn last_id(&self) -> EntityId;
    unsafe fn last_id_back(&self) -> EntityId;
}
Expand description

Can be used as bound for iterator that can use with_id.

Required Methods

Safety

Iterator::next has to be called before it.

Safety

DoubleEndedIterator::next_back has to be called before it.

Implementors