Struct catchit::Obstacle [] [src]

pub struct Obstacle {
    pub kind: ObstacleKind,
    pub object: Object,
    pub velocity: Velocity,
}

An obstacle the hunter can collide with

Fields

kind
object
velocity

Trait Implementations

Derived Implementations

impl PartialEq for Obstacle

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

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

impl Clone for Obstacle

fn clone(&self) -> Obstacle

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

impl Debug for Obstacle

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