Struct xsens_mti::wire::data_id::DataId [−][src]
pub struct DataId { pub data_type: DataType, pub precision: Precision, pub coordinate_system: CoordinateSystem, }
Fields
data_type: DataType
precision: Precision
coordinate_system: CoordinateSystem
Implementations
impl DataId
[src]
impl DataId
[src]pub fn new(
data_type: DataType,
precision: Precision,
coordinate_system: CoordinateSystem
) -> Self
[src]
data_type: DataType,
precision: Precision,
coordinate_system: CoordinateSystem
) -> Self
pub fn from_data_type(data_type: DataType) -> Self
[src]
pub fn data_type(&self) -> DataType
[src]
pub fn precision(&self) -> Precision
[src]
pub fn coordinate_system(&self) -> CoordinateSystem
[src]
Trait Implementations
impl Ord for DataId
[src]
impl Ord for DataId
[src]impl PartialOrd<DataId> for DataId
[src]
impl PartialOrd<DataId> for DataId
[src]fn partial_cmp(&self, other: &DataId) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &DataId) -> 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