pub struct CompuMethodLinearContent {
pub direction: CompuScaleDirection,
pub offset: f64,
pub factor: f64,
pub divisor: f64,
pub lower_limit: Option<f64>,
pub upper_limit: Option<f64>,
}
Expand description
Parameters of a linear conversion
Fields§
§direction: CompuScaleDirection
direction of the conversion
offset: f64
offset
factor: f64
factor
divisor: f64
divisor
lower_limit: Option<f64>
optional: lower limit of the scale
upper_limit: Option<f64>
optional: upper limit of the scale
Trait Implementations§
Source§impl Clone for CompuMethodLinearContent
impl Clone for CompuMethodLinearContent
Source§fn clone(&self) -> CompuMethodLinearContent
fn clone(&self) -> CompuMethodLinearContent
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 CompuMethodLinearContent
impl Debug for CompuMethodLinearContent
Source§impl PartialEq for CompuMethodLinearContent
impl PartialEq for CompuMethodLinearContent
impl StructuralPartialEq for CompuMethodLinearContent
Auto Trait Implementations§
impl Freeze for CompuMethodLinearContent
impl RefUnwindSafe for CompuMethodLinearContent
impl Send for CompuMethodLinearContent
impl Sync for CompuMethodLinearContent
impl Unpin for CompuMethodLinearContent
impl UnwindSafe for CompuMethodLinearContent
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