Enum catchit::CollisionShape [] [src]

pub enum CollisionShape {
    Square,
    Circle,
}

Represents a shape used for collision detection

Variants

Square
Circle

Trait Implementations

Derived Implementations

impl PartialEq for CollisionShape

fn eq(&self, __arg_0: &CollisionShape) -> bool

fn ne(&self, __arg_0: &CollisionShape) -> bool

impl Clone for CollisionShape

fn clone(&self) -> CollisionShape

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for CollisionShape

fn fmt(&self, __arg_0: &mut Formatter) -> Result