Enum shaderc::TargetEnv [−][src]
#[repr(C)]pub enum TargetEnv { Vulkan, OpenGL, OpenGLCompat, }
Target environment.
Variants
Vulkan
Compile under Vulkan semantics.
OpenGL
Compile under OpenGL semantics.
OpenGLCompat
Compile under OpenGL semantics, including compatibility profile functions.
Trait Implementations
impl Clone for TargetEnv
[src]
impl Clone for TargetEnv
fn clone(&self) -> TargetEnv
[src]
fn clone(&self) -> TargetEnv
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for TargetEnv
[src]
impl Copy for TargetEnv
impl Debug for TargetEnv
[src]
impl Debug for TargetEnv
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for TargetEnv
[src]
impl PartialEq for TargetEnv
fn eq(&self, other: &TargetEnv) -> bool
[src]
fn eq(&self, other: &TargetEnv) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for TargetEnv
[src]
impl Eq for TargetEnv