pub enum SignalType {
Show 37 variants
L1CA,
L1C,
L1PY,
L2C,
L2P,
L2PY,
L5,
E1,
E5a,
E5b,
E5AltBOC,
E6,
G1CA,
G1P,
G2CA,
G2P,
G3,
B1I,
B1C,
B2I,
B2a,
B2b,
B3I,
QZSSL1CA,
QZSSL2C,
QZSSL5,
QZSSL1C,
QZSSL1S,
QZSSL1CB,
QZSSL5S,
QZSSL6,
SBASL1,
SBASL5,
LBand,
NavICL5,
NavICL1,
Other(u8),
}Expand description
Signal type for tracking
Variants§
L1CA
L1C
L1PY
L2C
L2P
L2PY
L5
E1
E5a
E5b
E5AltBOC
E6
G1CA
G1P
G2CA
G2P
G3
B1I
B1C
B2I
B2a
B2b
B3I
QZSSL1CA
QZSSL2C
QZSSL5
QZSSL1C
QZSSL1S
QZSSL1CB
QZSSL5S
QZSSL6
SBASL1
SBASL5
LBand
Other(u8)
Implementations§
Source§impl SignalType
impl SignalType
Sourcepub fn from_signal_number(sig_num: u8) -> Self
pub fn from_signal_number(sig_num: u8) -> Self
Decode signal type from global SBF signal number (per SBF Reference Guide section 4.1.10)
Sourcepub fn from_signal_number_and_constellation(
sig_num: u8,
constellation: &Constellation,
) -> Self
pub fn from_signal_number_and_constellation( sig_num: u8, constellation: &Constellation, ) -> Self
Decode signal type from constellation-specific signal number
Trait Implementations§
Source§impl Clone for SignalType
impl Clone for SignalType
Source§fn clone(&self) -> SignalType
fn clone(&self) -> SignalType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignalType
impl Debug for SignalType
Source§impl Display for SignalType
impl Display for SignalType
Source§impl Hash for SignalType
impl Hash for SignalType
Source§impl PartialEq for SignalType
impl PartialEq for SignalType
impl Copy for SignalType
impl Eq for SignalType
impl StructuralPartialEq for SignalType
Auto Trait Implementations§
impl Freeze for SignalType
impl RefUnwindSafe for SignalType
impl Send for SignalType
impl Sync for SignalType
impl Unpin for SignalType
impl UnsafeUnpin for SignalType
impl UnwindSafe for SignalType
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