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
unsafe fn last_id_back(&self) -> EntityId
unsafe fn last_id_back(&self) -> EntityId
Safety
DoubleEndedIterator::next_back
has to be called before it.