pub struct Vegetation {
pub id: String,
pub min_m: [f64; 3],
pub max_m: [f64; 3],
pub leaf_area_density_m2_m3: f64,
pub drag_coefficient: f64,
pub leaf_deposition_velocity_m_s: f64,
pub turbulence_closure: CanopyClosure,
}Expand description
Flat-ground porous vegetation volume. Box membership uses cell centers, lower-inclusive and upper-exclusive, exactly as building masks.
Fields§
§id: StringUnique nonempty volume ID.
min_m: [f64; 3]Box lower corner in meters.
max_m: [f64; 3]Box upper corner in meters.
leaf_area_density_m2_m3: f64Leaf area per air volume, in m2/m3 (inverse meters).
drag_coefficient: f64Dimensionless form-drag coefficient.
leaf_deposition_velocity_m_s: f64Particle collection velocity per leaf area, m/s; excludes settling.
turbulence_closure: CanopyClosureCanopy k-epsilon source coefficient set.
Trait Implementations§
Source§impl Clone for Vegetation
impl Clone for Vegetation
Source§impl Debug for Vegetation
impl Debug for Vegetation
Source§impl<'de> Deserialize<'de> for Vegetation
impl<'de> Deserialize<'de> for Vegetation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Vegetation
impl JsonSchema for Vegetation
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for Vegetation
impl Freeze for Vegetation
impl Move for Vegetation
impl RefUnwindSafe for Vegetation
impl Send for Vegetation
impl Sync for Vegetation
impl Unpin for Vegetation
impl UnsafeUnpin for Vegetation
impl UnwindSafe for Vegetation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more