pub enum ValueType {
Unknown,
Continuous {
interpretation: ValueInterpretation,
},
NonContinuous {
values: ValueNames,
interpretation: ValueInterpretation,
},
Table {
interpretation: TableInterpretation,
},
}Expand description
Describes the type of a VCP value and how to interpret it.
Variants§
Unknown
The type of the data is not known
Continuous
Fields
§
interpretation: ValueInterpretationDescribes how to interpret the continuous value.
The data is a continuous value.
NonContinuous
Fields
§
values: ValueNamesThe values allowed or supported to be set, as well as their user-facing names.
§
interpretation: ValueInterpretationDescribes how to interpret the non-continuous value.
The data is a non-continuous value.
Table
Fields
§
interpretation: TableInterpretationDescribes how to interpret the table.
The data is a table (byte array)
Trait Implementations§
source§impl Ord for ValueType
impl Ord for ValueType
source§impl PartialEq<ValueType> for ValueType
impl PartialEq<ValueType> for ValueType
source§impl PartialOrd<ValueType> for ValueType
impl PartialOrd<ValueType> for ValueType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more