pub enum NumType {
Real(f64),
Integer(i64),
Rational(i64, i64),
ComplexCartesian(f64, f64),
ComplexPolar(f64, f64),
Constant(String),
ENotation(f64, i64),
}Variants§
Real(f64)
Integer(i64)
Rational(i64, i64)
ComplexCartesian(f64, f64)
ComplexPolar(f64, f64)
Constant(String)
ENotation(f64, i64)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NumType
impl<'de> Deserialize<'de> for NumType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NumType
Auto Trait Implementations§
impl Freeze for NumType
impl RefUnwindSafe for NumType
impl Send for NumType
impl Sync for NumType
impl Unpin for NumType
impl UnwindSafe for NumType
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