[−][src]Struct oxygengine_procedural::world_2d_climate_simulation::World2dClimateSimulation
Implementations
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<Scalar>>
[src]
pub fn pressure(&self) -> Option<&Grid2d<Scalar>>
[src]
pub fn slopeness(&self) -> Option<&Grid2d<World2dClimateSimulationVector>>
[src]
pub fn rebuild_slopeness(&mut self)
[src]
Trait Implementations
impl Default for World2dClimateSimulation
[src]
fn default() -> World2dClimateSimulation
[src]
impl<'_> From<&'_ World2dClimateSimulation> for World2dClimateSimulationData
[src]
fn from(sim: &World2dClimateSimulation) -> Self
[src]
impl<'_> From<&'_ World2dClimateSimulationData> for World2dClimateSimulation
[src]
fn from(data: &World2dClimateSimulationData) -> Self
[src]
impl World2dSimulation for World2dClimateSimulation
[src]
fn initialize_world(
&mut self,
altitude: &mut Grid2d<Scalar>,
temperature: &mut Grid2d<Scalar>,
_humidity: &mut Grid2d<Scalar>,
_surface_water: &mut Grid2d<Scalar>
)
[src]
&mut self,
altitude: &mut Grid2d<Scalar>,
temperature: &mut Grid2d<Scalar>,
_humidity: &mut Grid2d<Scalar>,
_surface_water: &mut Grid2d<Scalar>
)
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]
Auto Trait Implementations
impl RefUnwindSafe for World2dClimateSimulation
impl Send for World2dClimateSimulation
impl Sync for World2dClimateSimulation
impl Unpin for World2dClimateSimulation
impl UnwindSafe for World2dClimateSimulation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,