Struct xsens_mti::mtdata2::sample_time_coarse::SampleTimeCoarse [−][src]
pub struct SampleTimeCoarse(pub u32);
Expand description
Contains the sample time of an output expressed in seconds. When there is noGNSS-fix, this value is arbitrary for GNSS messages.
Combining XDI_SampleTimeCoarse and XDI_SampleTimeFine allows for creating a big range timestamp (expressed as a real number) using: BigTimestamp = [SampleTimeCoarse + (SampleTimeFine mod 10000) / 10000] (seconds)For MTi 1-series devices, this computation is valid only until the wraparound of XDI_SampleTimeFine occurs.
Implementations
Trait Implementations
impl Clone for SampleTimeCoarse
[src]
impl Clone for SampleTimeCoarse
[src]fn clone(&self) -> SampleTimeCoarse
[src]
fn clone(&self) -> SampleTimeCoarse
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SampleTimeCoarse
[src]
impl Debug for SampleTimeCoarse
[src]impl Display for SampleTimeCoarse
[src]
impl Display for SampleTimeCoarse
[src]impl Hash for SampleTimeCoarse
[src]
impl Hash for SampleTimeCoarse
[src]impl Ord for SampleTimeCoarse
[src]
impl Ord for SampleTimeCoarse
[src]impl PartialEq<SampleTimeCoarse> for SampleTimeCoarse
[src]
impl PartialEq<SampleTimeCoarse> for SampleTimeCoarse
[src]fn eq(&self, other: &SampleTimeCoarse) -> bool
[src]
fn eq(&self, other: &SampleTimeCoarse) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SampleTimeCoarse) -> bool
[src]
fn ne(&self, other: &SampleTimeCoarse) -> bool
[src]This method tests for !=
.
impl PartialOrd<SampleTimeCoarse> for SampleTimeCoarse
[src]
impl PartialOrd<SampleTimeCoarse> for SampleTimeCoarse
[src]fn partial_cmp(&self, other: &SampleTimeCoarse) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &SampleTimeCoarse) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more