pub enum EquationType {
Linear,
Quadratic,
Biquadratic,
BigExp,
BigExp2Terms,
Invalid,
}
Expand description
Equations differents types
Variants§
Linear
Linear equation
2x + 1
Quadratic
Quadratic equation
2x^2 + 2x + 1
Biquadratic
Biquadratic equation
2x^4 + 2x^2 + 1
BigExp
Equation with exponent grater than 2
2x^3 + 3x^2
BigExp2Terms
Equation with exponent grater than 2, but they only have two terms
2x^3 + 100
Invalid
Invalid equation type
Trait Implementations§
Source§impl Debug for EquationType
impl Debug for EquationType
Source§impl PartialEq for EquationType
impl PartialEq for EquationType
impl StructuralPartialEq for EquationType
Auto Trait Implementations§
impl Freeze for EquationType
impl RefUnwindSafe for EquationType
impl Send for EquationType
impl Sync for EquationType
impl Unpin for EquationType
impl UnwindSafe for EquationType
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