Enum rustc_const_math::ConstFloat [] [src]

pub enum ConstFloat {
    F32(f32),
    F64(f64),
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Methods

impl ConstFloat
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

Description of the type, not the value

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

Compares the values if they are of the same type

Trait Implementations

impl Copy for ConstFloat
[src]

impl Clone for ConstFloat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ConstFloat
[src]

Formats the value using the given formatter.

impl Encodable for ConstFloat
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Decodable for ConstFloat
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl PartialEq for ConstFloat
[src]

Note that equality for ConstFloat means that the it is the same constant, not that the rust values are equal. In particular, NaN == NaN (at least if it's the same NaN; distinct encodings for NaN are considering unequal).

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ConstFloat
[src]

impl Hash for ConstFloat
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Display for ConstFloat
[src]

Formats the value using the given formatter. Read more

impl Add for ConstFloat
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub for ConstFloat
[src]

The resulting type after applying the - operator

The method for the - operator

impl Mul for ConstFloat
[src]

The resulting type after applying the * operator

The method for the * operator

impl Div for ConstFloat
[src]

The resulting type after applying the / operator

The method for the / operator

impl Rem for ConstFloat
[src]

The resulting type after applying the % operator

The method for the % operator

impl Neg for ConstFloat
[src]

The resulting type after applying the - operator

The method for the unary - operator