pub struct SwAxisCont {
pub category: SwAxisContCategory,
pub sw_array_size: Vec<u64>,
pub sw_axis_index: u64,
pub sw_values_phys: Vec<SwValue>,
pub unit: Option<Unit>,
pub unit_display_name: Option<String>,
}
Expand description
specification of the axis values of a compound primitive data type (curve, map)
Fields§
§category: SwAxisContCategory
category of the axis; one of STD_AXIS
, COM_AXIS
, COM_AXIS
, RES_AXIS
sw_array_size: Vec<u64>
dimensions of the axis, used if the category is RES_AXIS
, otherwise it should be empty
sw_axis_index: u64
index of the axis. Here 1 is the x axis, 2 is the y axis, …
sw_values_phys: Vec<SwValue>
axis values in the physical domain
unit: Option<Unit>
pyhsical unit of the axis values
unit_display_name: Option<String>
display name of the unit
Trait Implementations§
Source§impl Clone for SwAxisCont
impl Clone for SwAxisCont
Source§fn clone(&self) -> SwAxisCont
fn clone(&self) -> SwAxisCont
Returns a duplicate 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 SwAxisCont
impl Debug for SwAxisCont
Source§impl PartialEq for SwAxisCont
impl PartialEq for SwAxisCont
impl StructuralPartialEq for SwAxisCont
Auto Trait Implementations§
impl Freeze for SwAxisCont
impl !RefUnwindSafe for SwAxisCont
impl Send for SwAxisCont
impl Sync for SwAxisCont
impl Unpin for SwAxisCont
impl !UnwindSafe for SwAxisCont
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