Struct a2lfile::Module[][src]

pub struct Module {
Show 28 fields pub name: String, pub long_identifier: String, pub a2ml: Option<A2ml>, pub axis_pts: Vec<AxisPts>, pub blob: Vec<Blob>, pub characteristic: Vec<Characteristic>, pub compu_method: Vec<CompuMethod>, pub compu_tab: Vec<CompuTab>, pub compu_vtab: Vec<CompuVtab>, pub compu_vtab_range: Vec<CompuVtabRange>, pub frame: Vec<Frame>, pub function: Vec<Function>, pub group: Vec<Group>, pub if_data: Vec<IfData>, pub instance: Vec<Instance>, pub measurement: Vec<Measurement>, pub mod_common: Option<ModCommon>, pub mod_par: Option<ModPar>, pub record_layout: Vec<RecordLayout>, pub transformer: Vec<Transformer>, pub typedef_blob: Vec<TypedefBlob>, pub typedef_axis: Vec<TypedefAxis>, pub typedef_characteristic: Vec<TypedefCharacteristic>, pub typedef_measurement: Vec<TypedefMeasurement>, pub typedef_structure: Vec<TypedefStructure>, pub unit: Vec<Unit>, pub user_rights: Vec<UserRights>, pub variant_coding: Option<VariantCoding>, // some fields omitted
}
Expand description

The MODULE keyword describes a complete ECU or device with all adjustable and measurement objects, conversion methods and functions

At least one module must be defined within the PROJECT

Specification: 3.5.89

Fields

name: Stringlong_identifier: Stringa2ml: Option<A2ml>axis_pts: Vec<AxisPts>blob: Vec<Blob>characteristic: Vec<Characteristic>compu_method: Vec<CompuMethod>compu_tab: Vec<CompuTab>compu_vtab: Vec<CompuVtab>compu_vtab_range: Vec<CompuVtabRange>frame: Vec<Frame>function: Vec<Function>group: Vec<Group>if_data: Vec<IfData>instance: Vec<Instance>measurement: Vec<Measurement>mod_common: Option<ModCommon>mod_par: Option<ModPar>record_layout: Vec<RecordLayout>transformer: Vec<Transformer>typedef_blob: Vec<TypedefBlob>typedef_axis: Vec<TypedefAxis>typedef_characteristic: Vec<TypedefCharacteristic>typedef_measurement: Vec<TypedefMeasurement>typedef_structure: Vec<TypedefStructure>unit: Vec<Unit>user_rights: Vec<UserRights>variant_coding: Option<VariantCoding>

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

get the source line number from which the current a2l object was loaded. Returns 0 if the object was newly created and not loaded from a file Read more

get the name of an a2l object. this trait is only implemented for those objects that have names, which is a subset of all objects Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.