pub struct SimulatedWind {
pub direction_true_deg: f64,
pub speed_kn: f64,
}Expand description
A plausible wind, for a simulated run with no boat to have a real one.
Fields§
§direction_true_deg: f64Degrees true – an absolute bearing the wind blows from.
speed_kn: f64Knots.
Trait Implementations§
Source§impl Clone for SimulatedWind
impl Clone for SimulatedWind
Source§fn clone(&self) -> SimulatedWind
fn clone(&self) -> SimulatedWind
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 SimulatedWind
Source§impl Debug for SimulatedWind
impl Debug for SimulatedWind
Source§impl PartialEq for SimulatedWind
impl PartialEq for SimulatedWind
Source§fn eq(&self, other: &SimulatedWind) -> bool
fn eq(&self, other: &SimulatedWind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SimulatedWind
Auto Trait Implementations§
impl Freeze for SimulatedWind
impl RefUnwindSafe for SimulatedWind
impl Send for SimulatedWind
impl Sync for SimulatedWind
impl Unpin for SimulatedWind
impl UnsafeUnpin for SimulatedWind
impl UnwindSafe for SimulatedWind
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