pub struct MapDescription {
pub cell_type: u32,
pub footprint: String,
pub stamp: bool,
pub no_stamp: bool,
pub minimap: bool,
pub color: u32,
}Expand description
MapDescription: how an entity stamps the gameplay map.
Original: FUN_140129a30.
Fields§
§cell_type: u32Cell type written under the footprint (4 for natural resources).
footprint: StringFootprint rows (# own type, _ ground, . untouched); empty = whole area.
stamp: boolStamp on activation.
no_stamp: boolNever stamp.
minimap: boolDraw on the minimap with color.
color: u32The minimap colour.
Trait Implementations§
Source§impl Clone for MapDescription
impl Clone for MapDescription
Source§fn clone(&self) -> MapDescription
fn clone(&self) -> MapDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MapDescription
impl RefUnwindSafe for MapDescription
impl Send for MapDescription
impl Sync for MapDescription
impl Unpin for MapDescription
impl UnsafeUnpin for MapDescription
impl UnwindSafe for MapDescription
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more