[][src]Enum polar_core::terms::Numeric

pub enum Numeric {
    Integer(i64),
    Float(f64),
}

Variants

Integer(i64)
Float(f64)

Trait Implementations

impl Add<Numeric> for Numeric[src]

type Output = Option<Self>

The resulting type after applying the + operator.

impl Clone for Numeric[src]

impl Copy for Numeric[src]

impl Debug for Numeric[src]

impl<'de> Deserialize<'de> for Numeric[src]

impl Display for Numeric[src]

impl Div<Numeric> for Numeric[src]

type Output = Option<Self>

The resulting type after applying the / operator.

impl Eq for Numeric[src]

impl From<f64> for Numeric[src]

impl From<i64> for Numeric[src]

impl Hash for Numeric[src]

impl Mul<Numeric> for Numeric[src]

type Output = Option<Self>

The resulting type after applying the * operator.

impl PartialEq<Numeric> for Numeric[src]

impl PartialOrd<Numeric> for Numeric[src]

impl Serialize for Numeric[src]

impl Sub<Numeric> for Numeric[src]

type Output = Option<Self>

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Numeric

impl Send for Numeric

impl Sync for Numeric

impl Unpin for Numeric

impl UnwindSafe for Numeric

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.