Struct a2lfile::Transformer
source · pub struct Transformer {
pub name: String,
pub version: String,
pub dllname_32bit: String,
pub dllname_64bit: String,
pub timeout: u16,
pub trigger: TransformerTrigger,
pub inverse_transformer: String,
pub transformer_in_objects: Option<TransformerInObjects>,
pub transformer_out_objects: Option<TransformerOutObjects>,
/* private fields */
}
Expand description
Definition of call to an external function (32-bit or 64-bit DLL) for converting calibration object values between their implementation format and physical format
Fields§
§name: String
§version: String
§dllname_32bit: String
§dllname_64bit: String
§timeout: u16
§trigger: TransformerTrigger
§inverse_transformer: String
§transformer_in_objects: Option<TransformerInObjects>
§transformer_out_objects: Option<TransformerOutObjects>
Implementations§
Trait Implementations§
source§impl A2lObject<(u32, u32, u32, u32, (u32, bool), u32, u32)> for Transformer
impl A2lObject<(u32, u32, u32, u32, (u32, bool), u32, u32)> for Transformer
source§fn get_layout(&self) -> &BlockInfo<(u32, u32, u32, u32, (u32, bool), u32, u32)>
fn get_layout(&self) -> &BlockInfo<(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, bool), u32, u32)>
fn get_layout_mut( &mut self ) -> &mut BlockInfo<(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 Transformer
impl A2lObjectName for Transformer
source§impl Clone for Transformer
impl Clone for Transformer
source§fn clone(&self) -> Transformer
fn clone(&self) -> Transformer
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 Transformer
impl Debug for Transformer
Auto Trait Implementations§
impl Freeze for Transformer
impl RefUnwindSafe for Transformer
impl Send for Transformer
impl Sync for Transformer
impl Unpin for Transformer
impl UnwindSafe for Transformer
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