[][src]Enum iced_x86::RoundingControl

pub enum RoundingControl {
    None,
    RoundToNearest,
    RoundDown,
    RoundUp,
    RoundTowardZero,
}

Rounding control

Variants

None

No rounding mode

RoundToNearest

Round to nearest (even)

RoundDown

Round down (toward -inf)

RoundUp

Round up (toward +inf)

RoundTowardZero

Round toward zero (truncate)

Trait Implementations

impl Clone for RoundingControl[src]

impl Copy for RoundingControl[src]

impl Debug for RoundingControl[src]

impl Default for RoundingControl[src]

impl Eq for RoundingControl[src]

impl Hash for RoundingControl[src]

impl Ord for RoundingControl[src]

impl PartialEq<RoundingControl> for RoundingControl[src]

impl PartialOrd<RoundingControl> for RoundingControl[src]

impl StructuralEq for RoundingControl[src]

impl StructuralPartialEq for RoundingControl[src]

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