Struct base::world::Prop [] [src]

pub struct Prop {
    pub baseline: HeightType,
    pub plant_index: usize,
}

A prop in a hex pillar

Fields

baseline: HeightType

The height/baseline at which the prop starts

plant_index: usize

index in the plant_list vector

Trait Implementations

impl Debug for Prop
[src]

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

Formats the value using the given formatter.

impl Clone for Prop
[src]

fn clone(&self) -> Prop

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more