Enum mold2d::collision::CollisionSide [] [src]

#[repr(u8)]
pub enum CollisionSide { Left, Right, Top, Bottom, }

Variants

Methods

impl CollisionSide
[src]

Reverses a collision side

Reverses a collision side byte

Trait Implementations

impl Clone for CollisionSide
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CollisionSide
[src]

impl Debug for CollisionSide
[src]

Formats the value using the given formatter.

impl PartialEq for CollisionSide
[src]

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

This method tests for !=.

impl BitAnd<CollisionSide> for CollisionSide
[src]

The resulting type after applying the & operator

The method for the & operator

impl BitAnd<u8> for CollisionSide
[src]

The resulting type after applying the & operator

The method for the & operator

impl BitOr<CollisionSide> for CollisionSide
[src]

The resulting type after applying the | operator

The method for the | operator

impl BitOr<u8> for CollisionSide
[src]

The resulting type after applying the | operator

The method for the | operator

impl PartialEq<u8> for CollisionSide
[src]

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

This method tests for !=.

impl From<u8> for CollisionSide
[src]

Performs the conversion.