pub struct IfData {
pub ifdata_items: Option<GenericIfData>,
pub ifdata_valid: bool,
/* private fields */
}
Expand description
The content of IF_DATA blocks is not directly described in the specification. Instead the content description is provided at runtime through the A2ML block.
Fields
ifdata_items: Option<GenericIfData>
contains the content of the IF_DATA in generic form
ifdata_valid: bool
ifdata_valid indicates if the data matched an A2ML specification during parsing or not
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 IfData
impl UnwindSafe for IfData
Blanket Implementations
Mutably borrows from an owned value. Read more