Struct xsens_mti::mtdata2::packet_counter::PacketCounter [−][src]
pub struct PacketCounter(pub u16);
Expand description
This counter is incremented with every generated MTData2 message
Implementations
impl PacketCounter
[src]
impl PacketCounter
[src]Trait Implementations
impl Clone for PacketCounter
[src]
impl Clone for PacketCounter
[src]fn clone(&self) -> PacketCounter
[src]
fn clone(&self) -> PacketCounter
[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 PacketCounter
[src]
impl Debug for PacketCounter
[src]impl Display for PacketCounter
[src]
impl Display for PacketCounter
[src]impl Hash for PacketCounter
[src]
impl Hash for PacketCounter
[src]impl Ord for PacketCounter
[src]
impl Ord for PacketCounter
[src]impl PartialEq<PacketCounter> for PacketCounter
[src]
impl PartialEq<PacketCounter> for PacketCounter
[src]fn eq(&self, other: &PacketCounter) -> bool
[src]
fn eq(&self, other: &PacketCounter) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PacketCounter) -> bool
[src]
fn ne(&self, other: &PacketCounter) -> bool
[src]This method tests for !=
.
impl PartialOrd<PacketCounter> for PacketCounter
[src]
impl PartialOrd<PacketCounter> for PacketCounter
[src]fn partial_cmp(&self, other: &PacketCounter) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &PacketCounter) -> 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