Trait shipyard::iter::LastId[][src]

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

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

Required methods

unsafe fn last_id(&self) -> EntityId[src]

Safety

Iterator::next has to be called before it.

unsafe fn last_id_back(&self) -> EntityId[src]

Safety

DoubleEndedIterator::next_back has to be called before it.

Loading content...

Implementors

impl<Storage: AbstractMut> LastId for Iter<Storage>[src]

impl<Storage: AbstractMut> LastId for Mixed<Storage>[src]

impl<Storage: AbstractMut> LastId for Tight<Storage>[src]

impl<Storage: FastAbstractMut> LastId for FastIter<Storage>[src]

impl<Storage: FastAbstractMut> LastId for FastMixed<Storage>[src]

impl<Storage: FastAbstractMut> LastId for FastTight<Storage>[src]

Loading content...