Enum shaderc::EnvVersion
source · #[repr(C)]
pub enum EnvVersion {
Vulkan1_0,
Vulkan1_1,
Vulkan1_2,
OpenGL4_5,
WebGPU,
}
Expand description
Target environment version.
Variants§
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<EnvVersion> for EnvVersion
impl PartialEq<EnvVersion> 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 ==
.