Struct sbp::messages::gnss::carrier_phase::CarrierPhase
source · pub struct CarrierPhase {
pub i: i32,
pub f: u8,
}
Expand description
GNSS carrier phase measurement
Carrier phase measurement in cycles represented as a 40-bit fixed point number with Q32.8 layout, i.e. 32-bits of whole cycles and 8-bits of fractional cycles. This phase has the same sign as the pseudorange.
Fields§
§i: i32
Carrier phase whole cycles
f: u8
Carrier phase fractional part
Trait Implementations§
source§impl Clone for CarrierPhase
impl Clone for CarrierPhase
source§fn clone(&self) -> CarrierPhase
fn clone(&self) -> CarrierPhase
Returns a copy 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 CarrierPhase
impl Debug for CarrierPhase
source§impl<'de> Deserialize<'de> for CarrierPhase
impl<'de> Deserialize<'de> for CarrierPhase
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
source§impl PartialEq for CarrierPhase
impl PartialEq for CarrierPhase
source§fn eq(&self, other: &CarrierPhase) -> bool
fn eq(&self, other: &CarrierPhase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CarrierPhase
impl Serialize for CarrierPhase
impl StructuralPartialEq for CarrierPhase
Auto Trait Implementations§
impl Freeze for CarrierPhase
impl RefUnwindSafe for CarrierPhase
impl Send for CarrierPhase
impl Sync for CarrierPhase
impl Unpin for CarrierPhase
impl UnwindSafe for CarrierPhase
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