Enum ncollide2d::events::ContactEvent[][src]

Events occuring when two collision objects start or stop being in contact (or penetration).

Variants

Event occuring when two collision objects start being in contact.

This event is generated whenever the narrow-phase finds a contact between two collision objects that did not have any contact at the last update.

Event occuring when two collision objects stop being in contact.

This event is generated whenever the narrow-phase fails to find any contact between two collision objects thit did have at least one contact at the last update.

Trait Implementations

impl Copy for ContactEvent
[src]

impl Clone for ContactEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for ContactEvent
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ContactEvent
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations