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

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

A set of events.

Methods

impl<E> EventPool<E>
[src]

[src]

Creates a new empty set of events.

[src]

Emties this set of events.

[src]

Adds the given event at the end of this set.

[src]

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

[src]

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?

[src]

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