pub struct TerrainGenerator {
pub string_table: Option<String>,
pub name: String,
pub flag: bool,
pub materials: [String; 3],
pub sizes: Vec<[i32; 17]>,
}Expand description
TerrainGenerator: a New Game terrain profile.
Original: FUN_1400b6b60.
Fields§
§string_table: Option<String>The string table.
name: StringThe name’s key.
flag: boolWhether it is listed in the New Game dialog (inferred, as in ClimateHeader).
materials: [String; 3]Terrain, river and lake material instances.
sizes: Vec<[i32; 17]>Small / Medium / Large size records, 17 integers each in serialized (wire) order.
Trait Implementations§
Source§impl Clone for TerrainGenerator
impl Clone for TerrainGenerator
Source§fn clone(&self) -> TerrainGenerator
fn clone(&self) -> TerrainGenerator
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 TerrainGenerator
impl RefUnwindSafe for TerrainGenerator
impl Send for TerrainGenerator
impl Sync for TerrainGenerator
impl Unpin for TerrainGenerator
impl UnsafeUnpin for TerrainGenerator
impl UnwindSafe for TerrainGenerator
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