#[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§
impl Copy for TargetEnv
impl Eq for TargetEnv
impl StructuralPartialEq for TargetEnv
Auto Trait Implementations§
impl Freeze for TargetEnv
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