Struct a2lfile::CompuVtabRange
source · pub struct CompuVtabRange {
pub name: String,
pub long_identifier: String,
pub number_value_triples: u16,
pub value_triples: Vec<ValueTriplesStruct>,
pub default_value: Option<DefaultValue>,
/* private fields */
}
Expand description
Conversion table for the assignment of display strings to a value range
Fields§
§name: String
§long_identifier: String
§number_value_triples: u16
§value_triples: Vec<ValueTriplesStruct>
§default_value: Option<DefaultValue>
Implementations§
Trait Implementations§
source§impl A2lObject<(u32, u32, (u32, bool), Vec<u32>)> for CompuVtabRange
impl A2lObject<(u32, u32, (u32, bool), Vec<u32>)> for CompuVtabRange
source§fn get_layout(&self) -> &BlockInfo<(u32, u32, (u32, bool), Vec<u32>)>
fn get_layout(&self) -> &BlockInfo<(u32, u32, (u32, bool), Vec<u32>)>
get a reference to the
BlockInfo
that describes the layout of the a2l objectsource§fn get_layout_mut(
&mut self
) -> &mut BlockInfo<(u32, u32, (u32, bool), Vec<u32>)>
fn get_layout_mut( &mut self ) -> &mut BlockInfo<(u32, u32, (u32, bool), Vec<u32>)>
get a mutable reference to the
BlockInfo
that describes the layout of the a2l objectsource§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 CompuVtabRange
impl A2lObjectName for CompuVtabRange
source§impl Clone for CompuVtabRange
impl Clone for CompuVtabRange
source§fn clone(&self) -> CompuVtabRange
fn clone(&self) -> CompuVtabRange
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 CompuVtabRange
impl Debug for CompuVtabRange
Auto Trait Implementations§
impl Freeze for CompuVtabRange
impl RefUnwindSafe for CompuVtabRange
impl Send for CompuVtabRange
impl Sync for CompuVtabRange
impl Unpin for CompuVtabRange
impl UnwindSafe for CompuVtabRange
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