#[repr(C)]pub enum TargetEnv {
Vulkan = 0,
OpenGL = 1,
OpenGLCompat = 2,
}
Expand description
Target environment.
Variants§
Vulkan = 0
Compile under Vulkan semantics.
OpenGL = 1
Compile under OpenGL semantics.
OpenGLCompat = 2
Compile under OpenGL semantics, including compatibility profile functions.
Trait Implementations§
source§impl PartialEq for TargetEnv
impl PartialEq for TargetEnv
impl Copy for TargetEnv
impl Eq for TargetEnv
impl StructuralEq for TargetEnv
impl StructuralPartialEq for TargetEnv
Auto Trait Implementations§
impl RefUnwindSafe for TargetEnv
impl Send for TargetEnv
impl Sync for TargetEnv
impl Unpin for TargetEnv
impl UnwindSafe for TargetEnv
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