pub struct SteerSolution {
pub heading_deg: f64,
pub sog_kn: f64,
}Expand description
A heading that holds a desired track through a current.
Fields§
§heading_deg: f64The heading to steer, degrees true.
sog_kn: f64The speed over ground that results, knots.
Trait Implementations§
Source§impl Clone for SteerSolution
impl Clone for SteerSolution
Source§fn clone(&self) -> SteerSolution
fn clone(&self) -> SteerSolution
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 SteerSolution
Source§impl Debug for SteerSolution
impl Debug for SteerSolution
Source§impl PartialEq for SteerSolution
impl PartialEq for SteerSolution
Source§fn eq(&self, other: &SteerSolution) -> bool
fn eq(&self, other: &SteerSolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SteerSolution
Auto Trait Implementations§
impl Freeze for SteerSolution
impl RefUnwindSafe for SteerSolution
impl Send for SteerSolution
impl Sync for SteerSolution
impl Unpin for SteerSolution
impl UnsafeUnpin for SteerSolution
impl UnwindSafe for SteerSolution
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