Struct FloraArchetypeConfig
#[repr(C)]pub struct FloraArchetypeConfig {
pub life_form: RaunkiaerLifeForm,
pub support_regime: StemSupportRegime,
pub lignification: f32,
pub cavity_ratio: f32,
pub gravitropism_angle_rad: f32,
pub frost_lethality_temp_c: f32,
pub turgor_buckling_threshold_mpa: f32,
pub hydraulic_capacitance: f32,
}Expand description
Continuous biophysical trait parameters defining any flora archetype.
Fields§
§life_form: RaunkiaerLifeForm§support_regime: StemSupportRegime§lignification: f32Lignification coefficient $\lambda \in [0.0, 1.0]$: 1.0 = solid wood, 0.0 = pure herbaceous tissue
cavity_ratio: f32Culm internal cavity ratio $\kappa = r_{\text{inner}} / r_{\text{outer}} \in [0.0, 0.95]$ (0.0 for solid stem)
gravitropism_angle_rad: f32Gravitropism target angle $\theta_g$ in radians (0.0 = vertical upright, $\pi/2 \approx 1.57$ = horizontal stolon)
frost_lethality_temp_c: f32Lethal freezing temperature threshold in °C (triggers dieback)
turgor_buckling_threshold_mpa: f32Critical drought turgor threshold in MPa below which stems buckle
hydraulic_capacitance: f32Water storage capacity in $kg / m^3$ (massive for succulents)
Implementations§
§impl FloraArchetypeConfig
impl FloraArchetypeConfig
pub const fn woody_tree() -> FloraArchetypeConfig
pub const fn woody_tree() -> FloraArchetypeConfig
Woody Tree Archetype (Eucalyptus, Oak, Pine).
pub const fn culinary_herb() -> FloraArchetypeConfig
pub const fn culinary_herb() -> FloraArchetypeConfig
Herbaceous Culinary Herb Archetype (Basil, Mint, Tomato).
pub const fn tussock_grass() -> FloraArchetypeConfig
pub const fn tussock_grass() -> FloraArchetypeConfig
Tussock Grass Archetype (Poa labillardierei, Kangaroo Grass).
pub const fn climbing_vine() -> FloraArchetypeConfig
pub const fn climbing_vine() -> FloraArchetypeConfig
Climbing Vine Archetype (Wonga Vine, Ivy).
pub const fn succulent() -> FloraArchetypeConfig
pub const fn succulent() -> FloraArchetypeConfig
Succulent Archetype (Aloe, Pigface, Cactus).
Trait Implementations§
§impl Clone for FloraArchetypeConfig
impl Clone for FloraArchetypeConfig
§fn clone(&self) -> FloraArchetypeConfig
fn clone(&self) -> FloraArchetypeConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more