[−][src]Struct hassium_procedural::world_2d_climate_simulation::World2dClimateSimulation
Methods
impl World2dClimateSimulation
[src]
pub fn new(config: World2dClimateSimulationConfig) -> Self
[src]
pub fn config(&self) -> &World2dClimateSimulationConfig
[src]
pub fn config_mut(&mut self) -> &mut World2dClimateSimulationConfig
[src]
pub fn steps(&self) -> usize
[src]
pub fn years(&self) -> usize
[src]
pub fn velocity(&self) -> Option<&Grid2d<World2dClimateSimulationVector>>
[src]
pub fn divergence(&self) -> Option<&Grid2d<f64>>
[src]
pub fn pressure(&self) -> Option<&Grid2d<f64>>
[src]
pub fn slopeness(&self) -> Option<&Grid2d<World2dClimateSimulationVector>>
[src]
pub fn rebuild_slopeness(&mut self)
[src]
Trait Implementations
impl World2dSimulation for World2dClimateSimulation
[src]
fn initialize_world(
&mut self,
altitude: &mut Grid2d<f64>,
temperature: &mut Grid2d<f64>,
_humidity: &mut Grid2d<f64>,
_surface_water: &mut Grid2d<f64>
)
[src]
&mut self,
altitude: &mut Grid2d<f64>,
temperature: &mut Grid2d<f64>,
_humidity: &mut Grid2d<f64>,
_surface_water: &mut Grid2d<f64>
)
fn process_world(
&mut self,
altitude: &mut World2dField,
temperature: &mut World2dField,
humidity: &mut World2dField,
surface_water: &mut World2dField
)
[src]
&mut self,
altitude: &mut World2dField,
temperature: &mut World2dField,
humidity: &mut World2dField,
surface_water: &mut World2dField
)
fn as_any(&self) -> &dyn Any
[src]
impl Default for World2dClimateSimulation
[src]
fn default() -> World2dClimateSimulation
[src]
impl<'_> From<&'_ World2dClimateSimulationData> for World2dClimateSimulation
[src]
fn from(data: &World2dClimateSimulationData) -> Self
[src]
impl<'_> From<&'_ World2dClimateSimulation> for World2dClimateSimulationData
[src]
fn from(sim: &World2dClimateSimulation) -> Self
[src]
Auto Trait Implementations
impl Unpin for World2dClimateSimulation
impl Sync for World2dClimateSimulation
impl Send for World2dClimateSimulation
impl UnwindSafe for World2dClimateSimulation
impl RefUnwindSafe for World2dClimateSimulation
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,