pub struct TerrainObject {
pub object_id: UnitTypeID,
pub density: i16,
pub placement_flag: i8,
}
Fields§
§object_id: UnitTypeID
§density: i16
§placement_flag: i8
Trait Implementations§
Source§impl Clone for TerrainObject
impl Clone for TerrainObject
Source§fn clone(&self) -> TerrainObject
fn clone(&self) -> TerrainObject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TerrainObject
impl Debug for TerrainObject
Source§impl Default for TerrainObject
impl Default for TerrainObject
Source§fn default() -> TerrainObject
fn default() -> TerrainObject
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TerrainObject
impl RefUnwindSafe for TerrainObject
impl Send for TerrainObject
impl Sync for TerrainObject
impl Unpin for TerrainObject
impl UnwindSafe for TerrainObject
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