Module toy_arena::iter[][src]

Expand description

Iterator types for the Arena

EntryBindings is a special one, where we can remove, invaliate or replace the binded entries.

Structs

Arena::drain → Iterator of T. Removes all arena items on drop

Mutable access to an arena entry

Arena::bindings → Iterator of EntryBind

Arena::iter → Iterator of (Index, &T)

Arena::iter_mut → Iterator of (Index, &mut T)

Arena::items → Iterator of &T

Arena::items_mut → Iterator of &mut T