Struct a2lfile::TypedefAxis
source · pub struct TypedefAxis {Show 16 fields
pub name: String,
pub long_identifier: String,
pub input_quantity: String,
pub record_layout: String,
pub max_diff: f64,
pub conversion: String,
pub max_axis_points: u16,
pub lower_limit: f64,
pub upper_limit: f64,
pub byte_order: Option<ByteOrder>,
pub deposit: Option<Deposit>,
pub extended_limits: Option<ExtendedLimits>,
pub format: Option<Format>,
pub monotony: Option<Monotony>,
pub phys_unit: Option<PhysUnit>,
pub step_size: Option<StepSize>,
/* private fields */
}
Expand description
Type definition of an axis object
Fields§
§name: String
§long_identifier: String
§input_quantity: String
§record_layout: String
§max_diff: f64
§conversion: String
§max_axis_points: u16
§lower_limit: f64
§upper_limit: f64
§byte_order: Option<ByteOrder>
§deposit: Option<Deposit>
§extended_limits: Option<ExtendedLimits>
§format: Option<Format>
§monotony: Option<Monotony>
§phys_unit: Option<PhysUnit>
§step_size: Option<StepSize>
Implementations§
Trait Implementations§
source§impl A2lObject<(u32, u32, u32, u32, u32, u32, (u32, bool), u32, u32)> for TypedefAxis
impl A2lObject<(u32, u32, u32, u32, u32, u32, (u32, bool), u32, u32)> for TypedefAxis
source§fn get_layout(
&self
) -> &BlockInfo<(u32, u32, u32, u32, u32, u32, (u32, bool), u32, u32)>
fn get_layout( &self ) -> &BlockInfo<(u32, u32, u32, u32, u32, u32, (u32, bool), u32, 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, u32, u32, u32, (u32, bool), u32, u32)>
fn get_layout_mut( &mut self ) -> &mut BlockInfo<(u32, u32, u32, u32, u32, u32, (u32, bool), u32, 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 TypedefAxis
impl A2lObjectName for TypedefAxis
source§impl Clone for TypedefAxis
impl Clone for TypedefAxis
source§fn clone(&self) -> TypedefAxis
fn clone(&self) -> TypedefAxis
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 TypedefAxis
impl Debug for TypedefAxis
Auto Trait Implementations§
impl Freeze for TypedefAxis
impl RefUnwindSafe for TypedefAxis
impl Send for TypedefAxis
impl Sync for TypedefAxis
impl Unpin for TypedefAxis
impl UnwindSafe for TypedefAxis
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