Struct base::world::PillarSection
[−]
[src]
pub struct PillarSection {
pub ground: GroundMaterial,
pub bottom: HeightType,
pub top: HeightType,
}Represents one section of a hex pillar.
Fields
ground: GroundMaterial
bottom: HeightType
top: HeightType
Methods
impl PillarSection[src]
fn new(ground: GroundMaterial, bottom: HeightType, top: HeightType) -> Self
Creates a new pillar section and asserts bottom < top.
Trait Implementations
impl Debug for PillarSection[src]
impl Clone for PillarSection[src]
fn clone(&self) -> PillarSection
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