Enum spirv_utils::desc::SrcLang [] [src]

pub enum SrcLang {
    Unknown,
    ESSL,
    GLSL,
    OpenCL_C,
    OpenCl_CPP,
}

Variants

Unknown
ESSL
GLSL
OpenCL_C
OpenCl_CPP

Methods

impl SrcLang

fn from(val: u32) -> Option<SrcLang>

Trait Implementations

Derived Implementations

impl Hash for SrcLang

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for SrcLang

fn eq(&self, __arg_0: &SrcLang) -> bool

fn ne(&self, __arg_0: &SrcLang) -> bool

impl Debug for SrcLang

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for SrcLang

fn clone(&self) -> SrcLang

fn clone_from(&mut self, source: &Self)

impl Copy for SrcLang