pub struct Course(/* private fields */);Expand description
A course-over-ground value, validated to 0..=360 degrees.
By APRS convention, 0 means “course not known” (per Mic-E) while any
other value is a true-north bearing. To distinguish “not known” from
“due north” callers typically use Option<Course>.
Implementations§
Trait Implementations§
Source§impl Ord for Course
impl Ord for Course
Source§impl PartialOrd for Course
impl PartialOrd for Course
impl Copy for Course
impl Eq for Course
impl StructuralPartialEq for Course
Auto Trait Implementations§
impl Freeze for Course
impl RefUnwindSafe for Course
impl Send for Course
impl Sync for Course
impl Unpin for Course
impl UnwindSafe for Course
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