Enum tinychain::scalar::NumberType[]

pub enum NumberType {
    Bool,
    Complex(ComplexType),
    Float(FloatType),
    Int(IntType),
    UInt(UIntType),
    Number,
}

The type of a generic Number.

Variants

Bool
Complex(ComplexType)
Float(FloatType)
Int(IntType)
UInt(UIntType)
Number

Implementations

impl NumberType

pub fn uint64() -> NumberType

Trait Implementations

impl Clone for NumberType

impl Copy for NumberType

impl Debug for NumberType

impl Default for NumberType

impl<'de> Deserialize<'de> for NumberType

impl Display for NumberType

impl Eq for NumberType

impl From<BooleanType> for NumberType

impl From<ComplexType> for NumberType

impl From<FloatType> for NumberType

impl From<IntType> for NumberType

impl From<UIntType> for NumberType

impl Hash for NumberType

impl NumberClass for NumberType

type Instance = Number

impl Ord for NumberType

impl PartialEq<NumberType> for NumberType

impl PartialOrd<NumberType> for NumberType

impl Serialize for NumberType

impl StructuralEq for NumberType

impl StructuralPartialEq for NumberType

Auto Trait Implementations

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<F, T> CastFrom<F> for T where
    T: From<F>, 
[src]

impl<T, F> CastInto<F> for T where
    F: CastFrom<T>, 
[src]

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

impl<F> Match for F[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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<F, T> TryCastFrom<F> for T where
    T: CastFrom<F>, 
[src]

impl<F, T> TryCastInto<T> for F where
    T: TryCastFrom<F>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,