Enum tc_value::Float[][src]

pub enum Float {
    F32(f32),
    F64(f64),
}

A floating-point number.

Variants

F32(f32)
F64(f64)

Trait Implementations

impl Add<Float> for Float[src]

type Output = Float

The resulting type after applying the + operator.

impl AddAssign<Float> for Float[src]

impl CastFrom<Complex> for Float[src]

impl CastFrom<Float> for UInt[src]

impl CastFrom<Float> for Int[src]

impl CastFrom<Float> for Boolean[src]

impl CastFrom<Number> for Float[src]

impl Clone for Float[src]

impl Copy for Float[src]

impl Debug for Float[src]

impl Default for Float[src]

impl Display for Float[src]

impl Div<Float> for Float[src]

type Output = Float

The resulting type after applying the / operator.

impl DivAssign<Float> for Float[src]

impl Eq for Float[src]

impl From<Boolean> for Float[src]

impl From<Float> for Complex[src]

impl From<Float> for Number[src]

impl From<Int> for Float[src]

impl From<UInt> for Float[src]

impl From<f32> for Float[src]

impl From<f64> for Float[src]

impl<'en> IntoStream<'en> for Float[src]

impl Mul<Float> for Float[src]

type Output = Float

The resulting type after applying the * operator.

impl MulAssign<Float> for Float[src]

impl NumberInstance for Float[src]

type Abs = Float

type Exp = Float

type Class = FloatType

impl PartialEq<Float> for Float[src]

impl PartialOrd<Float> for Float[src]

impl Product<Float> for Float[src]

impl Serialize for Float[src]

impl Sub<Float> for Float[src]

type Output = Float

The resulting type after applying the - operator.

impl SubAssign<Float> for Float[src]

impl Sum<Float> for Float[src]

impl<'en> ToStream<'en> for Float[src]

Auto Trait Implementations

impl RefUnwindSafe for Float

impl Send for Float

impl Sync for Float

impl Unpin for Float

impl UnwindSafe for Float

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> From<T> for T[src]

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

impl<F> Match for F[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<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.