Enum shaderc::EnvVersion
source · #[repr(C)]pub enum EnvVersion {
Vulkan1_0 = 4_194_304,
Vulkan1_1 = 4_198_400,
Vulkan1_2 = 4_202_496,
Vulkan1_3 = 4_206_592,
OpenGL4_5 = 450,
WebGPU = 451,
}
Expand description
Target environment version.
Variants§
Vulkan1_0 = 4_194_304
Vulkan1_1 = 4_198_400
Vulkan1_2 = 4_202_496
Vulkan1_3 = 4_206_592
OpenGL4_5 = 450
WebGPU = 451
Trait Implementations§
source§impl Clone for EnvVersion
impl Clone for EnvVersion
source§fn clone(&self) -> EnvVersion
fn clone(&self) -> EnvVersion
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 EnvVersion
impl Debug for EnvVersion
source§impl PartialEq for EnvVersion
impl PartialEq for EnvVersion
source§fn eq(&self, other: &EnvVersion) -> bool
fn eq(&self, other: &EnvVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EnvVersion
impl Eq for EnvVersion
impl StructuralEq for EnvVersion
impl StructuralPartialEq for EnvVersion
Auto Trait Implementations§
impl RefUnwindSafe for EnvVersion
impl Send for EnvVersion
impl Sync for EnvVersion
impl Unpin for EnvVersion
impl UnwindSafe for EnvVersion
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