pub struct CompuMethodScaleLinearContent {
pub direction: CompuScaleDirection,
pub offset: f64,
pub factor: f64,
pub divisor: f64,
pub lower_limit: f64,
pub upper_limit: f64,
}
Expand description
Parameters of a single linear conversion scale for a scale linear conversion
Fields§
§direction: CompuScaleDirection
direction of the conversion
offset: f64
offset
factor: f64
factor
divisor: f64
divisor
lower_limit: f64
lower limit of the scale
upper_limit: f64
upper limit of the scale
Trait Implementations§
Source§impl Clone for CompuMethodScaleLinearContent
impl Clone for CompuMethodScaleLinearContent
Source§fn clone(&self) -> CompuMethodScaleLinearContent
fn clone(&self) -> CompuMethodScaleLinearContent
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 PartialEq for CompuMethodScaleLinearContent
impl PartialEq for CompuMethodScaleLinearContent
Source§fn eq(&self, other: &CompuMethodScaleLinearContent) -> bool
fn eq(&self, other: &CompuMethodScaleLinearContent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CompuMethodScaleLinearContent
Auto Trait Implementations§
impl Freeze for CompuMethodScaleLinearContent
impl RefUnwindSafe for CompuMethodScaleLinearContent
impl Send for CompuMethodScaleLinearContent
impl Sync for CompuMethodScaleLinearContent
impl Unpin for CompuMethodScaleLinearContent
impl UnwindSafe for CompuMethodScaleLinearContent
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