pub enum CompuScaleContent {
TextConstant(String),
NumericConstant(f64),
RationalCoeffs {
numerator: Vec<f64>,
denominator: Vec<f64>,
},
}
Expand description
Content of a CompuScale
Variants§
TextConstant(String)
Text constant
NumericConstant(f64)
Numeric constant
RationalCoeffs
Coefficients of a rational function
Trait Implementations§
Source§impl Clone for CompuScaleContent
impl Clone for CompuScaleContent
Source§fn clone(&self) -> CompuScaleContent
fn clone(&self) -> CompuScaleContent
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 CompuScaleContent
impl Debug for CompuScaleContent
Source§impl PartialEq for CompuScaleContent
impl PartialEq for CompuScaleContent
impl StructuralPartialEq for CompuScaleContent
Auto Trait Implementations§
impl Freeze for CompuScaleContent
impl RefUnwindSafe for CompuScaleContent
impl Send for CompuScaleContent
impl Sync for CompuScaleContent
impl Unpin for CompuScaleContent
impl UnwindSafe for CompuScaleContent
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