Enum collider::HbEvent [] [src]

pub enum HbEvent {
    Collide,
    Separate,
}

A hitbox event type that may be returned from a Collider instance.

Variants

Occurs when two hitboxes collide

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for HbEvent
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for HbEvent
[src]

impl Debug for HbEvent
[src]

[src]

Formats the value using the given formatter.

impl Hash for HbEvent
[src]

[src]

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

1.3.0
[src]

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