pub struct Current {
pub set: TrueCourse,
pub drift: Speed,
}Expand description
Current: set and drift.
Fields§
§set: TrueCourseDirection the current flows towards.
Undefined when drift is zero; reported as 000°.
drift: SpeedCurrent speed.
Implementations§
Trait Implementations§
impl Copy for Current
impl StructuralPartialEq for Current
Auto Trait Implementations§
impl Freeze for Current
impl RefUnwindSafe for Current
impl Send for Current
impl Sync for Current
impl Unpin for Current
impl UnsafeUnpin for Current
impl UnwindSafe for Current
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