[][src]Enum spirv_headers::FPRoundingMode

#[repr(u32)]pub enum FPRoundingMode {
    RTE,
    RTZ,
    RTP,
    RTN,
}

/// SPIR-V operand kind: FPRoundingMode

Variants

RTE
RTZ
RTP
RTN

Methods

impl FPRoundingMode[src]

pub fn required_capabilities(self) -> &'static [Capability][src]

Trait Implementations

impl Clone for FPRoundingMode[src]

impl Copy for FPRoundingMode[src]

impl Debug for FPRoundingMode[src]

impl Eq for FPRoundingMode[src]

impl FromPrimitive for FPRoundingMode[src]

impl Hash for FPRoundingMode[src]

impl Ord for FPRoundingMode[src]

impl PartialEq<FPRoundingMode> for FPRoundingMode[src]

impl PartialOrd<FPRoundingMode> for FPRoundingMode[src]

impl StructuralEq for FPRoundingMode[src]

impl StructuralPartialEq for FPRoundingMode[src]

Auto Trait Implementations

impl RefUnwindSafe for FPRoundingMode

impl Send for FPRoundingMode

impl Sync for FPRoundingMode

impl Unpin for FPRoundingMode

impl UnwindSafe for FPRoundingMode

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.