pub struct DirectionTurn {
pub lower: WindLevel,
pub upper: WindLevel,
}Expand description
Two adjacent levels of a tabulated wind between which its direction is interpolated from the
lower level’s to the upper’s (Wind::direction_turns).
Fields§
§lower: WindLevelThe lower level.
upper: WindLevelThe upper level.
Trait Implementations§
Source§impl Clone for DirectionTurn
impl Clone for DirectionTurn
Source§fn clone(&self) -> DirectionTurn
fn clone(&self) -> DirectionTurn
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DirectionTurn
Source§impl Debug for DirectionTurn
impl Debug for DirectionTurn
Source§impl<'de> Deserialize<'de> for DirectionTurn
impl<'de> Deserialize<'de> for DirectionTurn
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 PartialEq for DirectionTurn
impl PartialEq for DirectionTurn
Source§fn eq(&self, other: &DirectionTurn) -> bool
fn eq(&self, other: &DirectionTurn) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DirectionTurn
impl Serialize for DirectionTurn
impl StructuralPartialEq for DirectionTurn
Auto Trait Implementations§
impl Freeze for DirectionTurn
impl RefUnwindSafe for DirectionTurn
impl Send for DirectionTurn
impl Sync for DirectionTurn
impl Unpin for DirectionTurn
impl UnsafeUnpin for DirectionTurn
impl UnwindSafe for DirectionTurn
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