#[repr(u32)]pub enum SourceLanguage {
Unknown = 0,
ESSL = 1,
GLSL = 2,
OpenCL_C = 3,
OpenCL_CPP = 4,
HLSL = 5,
CPP_for_OpenCL = 6,
SYCL = 7,
HERO_C = 8,
NZSL = 9,
WGSL = 10,
Slang = 11,
}
Expand description
SPIR-V operand kind: SourceLanguage
Variants§
Unknown = 0
ESSL = 1
GLSL = 2
OpenCL_C = 3
OpenCL_CPP = 4
HLSL = 5
CPP_for_OpenCL = 6
SYCL = 7
HERO_C = 8
NZSL = 9
WGSL = 10
Slang = 11
Implementations§
Trait Implementations§
Source§impl Clone for SourceLanguage
impl Clone for SourceLanguage
Source§fn clone(&self) -> SourceLanguage
fn clone(&self) -> SourceLanguage
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SourceLanguage
impl Debug for SourceLanguage
Source§impl FromStr for SourceLanguage
impl FromStr for SourceLanguage
Source§impl Hash for SourceLanguage
impl Hash for SourceLanguage
Source§impl Ord for SourceLanguage
impl Ord for SourceLanguage
Source§fn cmp(&self, other: &SourceLanguage) -> Ordering
fn cmp(&self, other: &SourceLanguage) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceLanguage
impl PartialEq for SourceLanguage
Source§impl PartialOrd for SourceLanguage
impl PartialOrd for SourceLanguage
impl Copy for SourceLanguage
impl Eq for SourceLanguage
impl StructuralPartialEq for SourceLanguage
Auto Trait Implementations§
impl Freeze for SourceLanguage
impl RefUnwindSafe for SourceLanguage
impl Send for SourceLanguage
impl Sync for SourceLanguage
impl Unpin for SourceLanguage
impl UnwindSafe for SourceLanguage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)