Struct a2lfile::Characteristic
source · [−]pub struct Characteristic {Show 36 fields
pub name: String,
pub long_identifier: String,
pub characteristic_type: CharacteristicType,
pub address: u32,
pub deposit: String,
pub max_diff: f64,
pub conversion: String,
pub lower_limit: f64,
pub upper_limit: f64,
pub annotation: Vec<Annotation>,
pub axis_descr: Vec<AxisDescr>,
pub bit_mask: Option<BitMask>,
pub byte_order: Option<ByteOrder>,
pub calibration_access: Option<CalibrationAccess>,
pub comparison_quantity: Option<ComparisonQuantity>,
pub dependent_characteristic: Option<DependentCharacteristic>,
pub discrete: Option<Discrete>,
pub display_identifier: Option<DisplayIdentifier>,
pub ecu_address_extension: Option<EcuAddressExtension>,
pub encoding: Option<Encoding>,
pub extended_limits: Option<ExtendedLimits>,
pub format: Option<Format>,
pub function_list: Option<FunctionList>,
pub guard_rails: Option<GuardRails>,
pub if_data: Vec<IfData>,
pub map_list: Option<MapList>,
pub matrix_dim: Option<MatrixDim>,
pub max_refresh: Option<MaxRefresh>,
pub model_link: Option<ModelLink>,
pub number: Option<Number>,
pub phys_unit: Option<PhysUnit>,
pub read_only: Option<ReadOnly>,
pub ref_memory_segment: Option<RefMemorySegment>,
pub step_size: Option<StepSize>,
pub symbol_link: Option<SymbolLink>,
pub virtual_characteristic: Option<VirtualCharacteristic>,
/* private fields */
}
Expand description
Specifies all the parameters of an adjustable object
Specification: 3.5.29
Fields
name: String
long_identifier: String
characteristic_type: CharacteristicType
address: u32
deposit: String
max_diff: f64
conversion: String
lower_limit: f64
upper_limit: f64
annotation: Vec<Annotation>
axis_descr: Vec<AxisDescr>
bit_mask: Option<BitMask>
byte_order: Option<ByteOrder>
calibration_access: Option<CalibrationAccess>
comparison_quantity: Option<ComparisonQuantity>
dependent_characteristic: Option<DependentCharacteristic>
discrete: Option<Discrete>
display_identifier: Option<DisplayIdentifier>
ecu_address_extension: Option<EcuAddressExtension>
encoding: Option<Encoding>
extended_limits: Option<ExtendedLimits>
format: Option<Format>
function_list: Option<FunctionList>
guard_rails: Option<GuardRails>
if_data: Vec<IfData>
map_list: Option<MapList>
matrix_dim: Option<MatrixDim>
max_refresh: Option<MaxRefresh>
model_link: Option<ModelLink>
number: Option<Number>
phys_unit: Option<PhysUnit>
read_only: Option<ReadOnly>
ref_memory_segment: Option<RefMemorySegment>
step_size: Option<StepSize>
symbol_link: Option<SymbolLink>
virtual_characteristic: Option<VirtualCharacteristic>
Implementations
Trait Implementations
get a reference to the BlockInfo that describes the layout of the a2l object
get a mutable reference to the BlockInfo that describes the layout of the a2l object
reset the location information on the a2l object. It will be treated like a new object when writing a file
reset the reference to an include file on this objct and its children. This causes the object to be written into the output file instead of referenced through /include “filename” Read more
Auto Trait Implementations
impl RefUnwindSafe for Characteristic
impl Send for Characteristic
impl Sync for Characteristic
impl Unpin for Characteristic
impl UnwindSafe for Characteristic
Blanket Implementations
Mutably borrows from an owned value. Read more