#[non_exhaustive]pub enum CompassZone {
Reliable,
Caution,
Blackout,
}Expand description
How far a compass, and so the declination, can be trusted at a place (report, section 1.8).
The report draws the zones on the ellipsoid’s surface; at height the horizontal intensity weakens (to about 0.7 of the surface’s at 850 km), so the zones there are wider than the report’s. At a rocket’s heights the difference is negligible.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Reliable
Horizontal intensity of at least 6,000 nT.
Caution
Horizontal intensity from 2,000 to 6,000 nT: approaching a magnetic pole, where declination errors exceed 1°.
Blackout
Horizontal intensity below 2,000 nT: near a magnetic pole, where declination errors of up to 180° occur.
Trait Implementations§
Source§impl Clone for CompassZone
impl Clone for CompassZone
Source§fn clone(&self) -> CompassZone
fn clone(&self) -> CompassZone
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 CompassZone
Source§impl Debug for CompassZone
impl Debug for CompassZone
Source§impl<'de> Deserialize<'de> for CompassZone
impl<'de> Deserialize<'de> for CompassZone
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
impl Eq for CompassZone
Source§impl PartialEq for CompassZone
impl PartialEq for CompassZone
Source§fn eq(&self, other: &CompassZone) -> bool
fn eq(&self, other: &CompassZone) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompassZone
impl Serialize for CompassZone
impl StructuralPartialEq for CompassZone
Auto Trait Implementations§
impl Freeze for CompassZone
impl RefUnwindSafe for CompassZone
impl Send for CompassZone
impl Sync for CompassZone
impl Unpin for CompassZone
impl UnsafeUnpin for CompassZone
impl UnwindSafe for CompassZone
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