Enum tycho::Number[][src]

pub enum Number {
    Bit(bool),
    Unsigned8(u8),
    Signed8(i8),
    Unsigned16(u16),
    Signed16(i16),
    Unsigned32(u32),
    Signed32(i32),
    Unsigned64(u64),
    Signed64(i64),
    Unsigned128(u128),
    Signed128(i128),
    Float32(f32),
    Float64(f64),
}

A numerical value tag, used when creating tycho data.

Variants

Bit(bool)
Unsigned8(u8)
Signed8(i8)
Unsigned16(u16)
Signed16(i16)
Unsigned32(u32)
Signed32(i32)
Unsigned64(u64)
Signed64(i64)
Unsigned128(u128)
Signed128(i128)
Float32(f32)
Float64(f64)

Trait Implementations

impl Clone for Number[src]

impl Debug for Number[src]

impl Display for Number[src]

impl Eq for Number[src]

impl From<Number> for Value[src]

impl From<f32> for Number[src]

impl From<f64> for Number[src]

impl From<i128> for Number[src]

impl From<i16> for Number[src]

impl From<i32> for Number[src]

impl From<i64> for Number[src]

impl From<i8> for Number[src]

impl From<u128> for Number[src]

impl From<u16> for Number[src]

impl From<u32> for Number[src]

impl From<u64> for Number[src]

impl From<u8> for Number[src]

impl Hash for Number[src]

impl Ident for Number[src]

type IdentType = NumberIdent

Respective ident type

impl PartialEq<Number> for Number[src]

impl PartialOrd<Number> for Number[src]

Auto Trait Implementations

impl RefUnwindSafe for Number

impl Send for Number

impl Sync for Number

impl Unpin for Number

impl UnwindSafe for Number

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> 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.

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