Struct ncollide2d::events::EventPool[][src]

pub struct EventPool<E> { /* fields omitted */ }

A set of events.

Methods

impl<E> EventPool<E>
[src]

Creates a new empty set of events.

Emties this set of events.

Adds the given event at the end of this set.

Iterates through all events contained on this set in a FIFO maneer.

Removes from this set all events for which filter returns false.

Trait Implementations

impl<'a, E> IntoIterator for &'a EventPool<E>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

impl<E> Send for EventPool<E> where
    E: Send

impl<E> Sync for EventPool<E> where
    E: Sync