Enum shaderc::EnvVersion
source · [−]#[repr(C)]
pub enum EnvVersion {
Vulkan1_0,
Vulkan1_1,
Vulkan1_2,
OpenGL4_5,
WebGPU,
}
Expand description
Target environment version.
Variants
Vulkan1_0
Vulkan1_1
Vulkan1_2
OpenGL4_5
WebGPU
Trait Implementations
sourceimpl Clone for EnvVersion
impl Clone for EnvVersion
sourcefn clone(&self) -> EnvVersion
fn clone(&self) -> EnvVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EnvVersion
impl Debug for EnvVersion
sourceimpl PartialEq<EnvVersion> for EnvVersion
impl PartialEq<EnvVersion> for EnvVersion
impl Copy for EnvVersion
impl Eq for EnvVersion
impl StructuralEq for EnvVersion
impl StructuralPartialEq for EnvVersion
Auto Trait Implementations
impl RefUnwindSafe for EnvVersion
impl Send for EnvVersion
impl Sync for EnvVersion
impl Unpin for EnvVersion
impl UnwindSafe for EnvVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more