logo
#[repr(C)]
pub enum rnd_t {
    RNDN,
    RNDZ,
    RNDU,
    RNDD,
    RNDA,
    RNDF,
    // some variants omitted
}
Expand description

See: mpfr_rnd_t

Planned change

In the next major version of the crate (version 2), this enum will be replaced by a type alias to c_int. The variants will be replaced by constants, for example rnd_t::RNDN will be replaced by a constant RNDN of type c_int.

Variants

RNDN

See: Rounding

Planned change

In the next major version of the crate (version 2), the enum will be removed. This variant will be replaced by a constant RNDN of type c_int.

RNDZ

See: Rounding Modes

Planned change

In the next major version of the crate (version 2), the enum will be removed. This variant will be replaced by a constant RNDZ of type c_int.

RNDU

See: Rounding Modes

Planned change

In the next major version of the crate (version 2), the enum will be removed. This variant will be replaced by a constant RNDU of type c_int.

RNDD

See: Rounding Modes

Planned change

In the next major version of the crate (version 2), the enum will be removed. This variant will be replaced by a constant RNDD of type c_int.

RNDA

See: Rounding Modes

Planned change

In the next major version of the crate (version 2), the enum will be removed. This variant will be replaced by a constant RNDA of type c_int.

RNDF

See: Rounding Modes

Planned change

In the next major version of the crate (version 2), the enum will be removed. This variant will be replaced by a constant RNDF of type c_int.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.