pub struct WindPattern {
pub direction: f32,
pub speed: f32,
pub direction_variability: f32,
pub speed_variability: f32,
pub gust_factor: f32,
}Expand description
Prevailing wind pattern for a region.
Fields§
§direction: f32Direction (radians from east).
speed: f32Speed (m/s).
direction_variability: f32Variability (standard deviation in direction, radians).
speed_variability: f32Speed variability (m/s).
gust_factor: f32Gust factor (peak/mean ratio).
Implementations§
Source§impl WindPattern
impl WindPattern
Trait Implementations§
Source§impl Clone for WindPattern
impl Clone for WindPattern
Source§fn clone(&self) -> WindPattern
fn clone(&self) -> WindPattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WindPattern
impl RefUnwindSafe for WindPattern
impl Send for WindPattern
impl Sync for WindPattern
impl Unpin for WindPattern
impl UnsafeUnpin for WindPattern
impl UnwindSafe for WindPattern
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