#[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,
Vulkan1_4 = 4_210_688,
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
Vulkan1_4 = 4_210_688
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 duplicate 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
impl Copy for EnvVersion
impl Eq for EnvVersion
impl StructuralPartialEq for EnvVersion
Auto Trait Implementations§
impl Freeze for EnvVersion
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