[][src]Enum spirv_headers::SourceLanguage

#[repr(u32)]pub enum SourceLanguage {
    Unknown,
    ESSL,
    GLSL,
    OpenCL_C,
    OpenCL_CPP,
    HLSL,
}

/// SPIR-V operand kind: SourceLanguage

Variants

Unknown
ESSL
GLSL
OpenCL_C
OpenCL_CPP
HLSL

Methods

impl SourceLanguage[src]

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

Trait Implementations

impl Clone for SourceLanguage[src]

impl Copy for SourceLanguage[src]

impl Debug for SourceLanguage[src]

impl Eq for SourceLanguage[src]

impl FromPrimitive for SourceLanguage[src]

impl Hash for SourceLanguage[src]

impl Ord for SourceLanguage[src]

impl PartialEq<SourceLanguage> for SourceLanguage[src]

impl PartialOrd<SourceLanguage> for SourceLanguage[src]

impl StructuralEq for SourceLanguage[src]

impl StructuralPartialEq for SourceLanguage[src]

Auto Trait Implementations

impl RefUnwindSafe for SourceLanguage

impl Send for SourceLanguage

impl Sync for SourceLanguage

impl Unpin for SourceLanguage

impl UnwindSafe for SourceLanguage

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.