pub struct LinLdf {
pub header: LdfHeader,
pub nodes: LdfNodes,
pub signals: Vec<LdfSignal>,
pub diagnostic_signals: Vec<LdfDiagnosticSignal>,
pub frames: Vec<LdfFrame>,
pub diagnostic_frames: Vec<LdfDiagnosticFrame>,
pub node_attributes: Vec<LdfNodeAttributes>,
pub schedule_tables: Vec<LdfScheduleTable>,
pub signal_encoding_types: Vec<LdfSignalEncodingType>,
pub signal_representations: Vec<LdfSignalRepresentation>,
}
Fields§
§header: LdfHeader
§nodes: LdfNodes
§signals: Vec<LdfSignal>
§diagnostic_signals: Vec<LdfDiagnosticSignal>
§frames: Vec<LdfFrame>
§diagnostic_frames: Vec<LdfDiagnosticFrame>
§node_attributes: Vec<LdfNodeAttributes>
§schedule_tables: Vec<LdfScheduleTable>
§signal_encoding_types: Vec<LdfSignalEncodingType>
§signal_representations: Vec<LdfSignalRepresentation>
Implementations§
Source§impl LinLdf
impl LinLdf
Sourcepub fn parse(s: &str) -> Result<LinLdf, &'static str>
pub fn parse(s: &str) -> Result<LinLdf, &'static str>
<LIN_description_file> ::=
LIN_description_file ;
<LIN_protocol_version_def>
<LIN_language_version_def>
<LIN_speed_def>
(<Channel_name_def>)
<Node_def>
(<Node_composition_def>)
<Signal_def>
(<Diag_signal_def>)
<Frame_def>
(<Sporadic_frame_def>)
(<Event_triggered_frame_def>)
(<Diag_frame_def>)
<Node_attributes_def>
<Schedule_table_def>
(<Signal_groups_def>)
(<Signal_encoding_type_def>)
(<Signal_representation_def>)
Auto Trait Implementations§
impl Freeze for LinLdf
impl RefUnwindSafe for LinLdf
impl Send for LinLdf
impl Sync for LinLdf
impl Unpin for LinLdf
impl UnwindSafe for LinLdf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more