Enum computer_v1::polynomial::order::term::Term
[−]
[src]
pub enum Term {
Determinate(f64),
Indeterminate(f64, Degree),
}Variants
Determinate(f64)Indeterminate(f64, Degree)
Trait Implementations
impl Debug for Term[src]
impl Clone for Term[src]
fn clone(&self) -> Term[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Term[src]
impl Default for Term[src]
impl Neg for Term[src]
type Output = Self
The resulting type after applying the - operator.
fn neg(self) -> Self[src]
Performs the unary - operation.
impl FromStr for Term[src]
type Err = ParseFloatError
The associated error which can be returned from parsing.
fn from_str(line: &str) -> Result<Self, Self::Err>[src]
Parses a string s to return a value of this type. Read more
impl Eq for Term[src]
impl PartialEq for Term[src]
fn eq(&self, other: &Term) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Ord for Term[src]
fn cmp(&self, other: &Term) -> Ordering[src]
fn max(self, other: Self) -> Self1.22.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.22.0[src]
Compares and returns the minimum of two values. Read more
impl PartialOrd for Term[src]
fn partial_cmp(&self, other: &Term) -> Option<Ordering>[src]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Sub for Term[src]
type Output = Self
The resulting type after applying the - operator.
fn sub(self, other: Term) -> Self::Output[src]
Performs the - operation.
impl CheckedSub for Term[src]
fn checked_sub(&self, other: &Term) -> Option<Self::Output>[src]
Subtracts two numbers, checking for underflow. If underflow happens, None is returned. Read more
impl Add for Term[src]
type Output = Self
The resulting type after applying the + operator.
fn add(self, other: Term) -> Self::Output[src]
Performs the + operation.
impl Zero for Term[src]
fn zero() -> Self[src]
Returns the additive identity element of Self, 0. Read more
fn is_zero(&self) -> bool[src]
Returns true if self is equal to the additive identity.