pub trait Wind:
Debug
+ Send
+ Sync {
// Required method
fn wind(&self, height_msl_m: f64) -> Result<WindSample, AtmosError>;
}Expand description
A mean wind model: the wind velocity as a function of height.
Required Methods§
Sourcefn wind(&self, height_msl_m: f64) -> Result<WindSample, AtmosError>
fn wind(&self, height_msl_m: f64) -> Result<WindSample, AtmosError>
The wind at geometric height height_msl_m above mean sea level.
§Errors
AtmosError::Domain if the height is not finite.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".