Enum collider::HbEvent
[−]
[src]
pub enum HbEvent { Collide, Separate, }
A hitbox event type that may be returned from a Collider
instance.
Variants
Collide
Occurs when two hitboxes collide
Separate
Occurs when two hitboxes separate.
A second Collide
betweent two hitboxes may not occur before a Separate
.
A Separate
event must come after a Collide
event.
Trait Implementations
impl Copy for HbEvent
[src]
impl Clone for HbEvent
[src]
fn clone(&self) -> HbEvent
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for HbEvent
[src]
fn eq(&self, __arg_0: &HbEvent) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for HbEvent
[src]
impl Debug for HbEvent
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more