pub struct Layer {
pub bottom: DataRow,
pub top: DataRow,
}
Expand description
A layer in the atmosphere described by the values at the top and bottom.
Fields§
§bottom: DataRow
Sounding values at the bottom of the layer.
top: DataRow
Sounding values at the top of the layer.
Implementations§
Source§impl Layer
impl Layer
Sourcepub fn lapse_rate(&self) -> Option<CelsiusPKm>
pub fn lapse_rate(&self) -> Option<CelsiusPKm>
Get the average lapse rate in C/km
Sourcepub fn height_thickness(&self) -> Option<Meters>
pub fn height_thickness(&self) -> Option<Meters>
Get the height thickness in meters
Sourcepub fn pressure_thickness(&self) -> Option<HectoPascal>
pub fn pressure_thickness(&self) -> Option<HectoPascal>
Get the pressure thickness.
Sourcepub fn wind_shear(&self) -> Option<WindUV<MetersPSec>>
pub fn wind_shear(&self) -> Option<WindUV<MetersPSec>>
Get the bulk wind shear (spd kts, direction degrees)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
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,
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