Struct a2lfile::TypedefStructure
source · pub struct TypedefStructure {
pub name: String,
pub long_identifier: String,
pub total_size: u32,
pub address_type: Option<AddressType>,
pub consistent_exchange: Option<ConsistentExchange>,
pub structure_component: Vec<StructureComponent>,
pub symbol_type_link: Option<SymbolTypeLink>,
/* private fields */
}Expand description
Definition of structured data types similar to the "typedef" command in C
Fields§
§name: String§long_identifier: String§total_size: u32§address_type: Option<AddressType>§consistent_exchange: Option<ConsistentExchange>§structure_component: Vec<StructureComponent>§symbol_type_link: Option<SymbolTypeLink>Implementations§
Trait Implementations§
source§impl A2lObject<(u32, u32, (u32, bool))> for TypedefStructure
impl A2lObject<(u32, u32, (u32, bool))> for TypedefStructure
source§fn get_layout(&self) -> &BlockInfo<(u32, u32, (u32, bool))>
fn get_layout(&self) -> &BlockInfo<(u32, u32, (u32, bool))>
get a reference to the BlockInfo that describes the layout of the a2l object
source§fn get_layout_mut(&mut self) -> &mut BlockInfo<(u32, u32, (u32, bool))>
fn get_layout_mut(&mut self) -> &mut BlockInfo<(u32, u32, (u32, bool))>
get a mutable reference to the BlockInfo that describes the layout of the a2l object
source§fn reset_location(&mut self)
fn reset_location(&mut self)
reset the location information on the a2l object. It will be treated like a new object when writing a file
source§fn merge_includes(&mut self)
fn merge_includes(&mut self)
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”
source§impl A2lObjectName for TypedefStructure
impl A2lObjectName for TypedefStructure
source§impl Clone for TypedefStructure
impl Clone for TypedefStructure
source§fn clone(&self) -> TypedefStructure
fn clone(&self) -> TypedefStructure
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TypedefStructure
impl Debug for TypedefStructure
source§impl PartialEq<TypedefStructure> for TypedefStructure
impl PartialEq<TypedefStructure> for TypedefStructure
Auto Trait Implementations§
impl RefUnwindSafe for TypedefStructure
impl Send for TypedefStructure
impl Sync for TypedefStructure
impl Unpin for TypedefStructure
impl UnwindSafe for TypedefStructure
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