Struct oxygengine_procedural::world_2d::World2dConfig
source · pub struct World2dConfig {
pub size: usize,
pub zoom: Scalar,
pub altitude_seed: u32,
pub altitude_range: Range<Scalar>,
pub temperature_seed: u32,
pub temperature_range: Range<Scalar>,
pub humidity_seed: u32,
pub humidity_range: Range<Scalar>,
}
Fields§
§size: usize
§zoom: Scalar
§altitude_seed: u32
§altitude_range: Range<Scalar>
§temperature_seed: u32
§temperature_range: Range<Scalar>
§humidity_seed: u32
§humidity_range: Range<Scalar>
Trait Implementations§
source§impl Clone for World2dConfig
impl Clone for World2dConfig
source§fn clone(&self) -> World2dConfig
fn clone(&self) -> World2dConfig
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 World2dConfig
impl Debug for World2dConfig
Auto Trait Implementations§
impl RefUnwindSafe for World2dConfig
impl Send for World2dConfig
impl Sync for World2dConfig
impl Unpin for World2dConfig
impl UnwindSafe for World2dConfig
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