Enum shaderc::SpirvVersion
source · #[repr(C)]pub enum SpirvVersion {
V1_0 = 65_536,
V1_1 = 65_792,
V1_2 = 66_048,
V1_3 = 66_304,
V1_4 = 66_560,
V1_5 = 66_816,
V1_6 = 67_072,
}
Expand description
The known versions of SPIR-V.
Variants§
Trait Implementations§
source§impl Clone for SpirvVersion
impl Clone for SpirvVersion
source§fn clone(&self) -> SpirvVersion
fn clone(&self) -> SpirvVersion
Returns a copy 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 SpirvVersion
impl Debug for SpirvVersion
source§impl PartialEq for SpirvVersion
impl PartialEq for SpirvVersion
source§fn eq(&self, other: &SpirvVersion) -> bool
fn eq(&self, other: &SpirvVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpirvVersion
impl Eq for SpirvVersion
impl StructuralEq for SpirvVersion
impl StructuralPartialEq for SpirvVersion
Auto Trait Implementations§
impl RefUnwindSafe for SpirvVersion
impl Send for SpirvVersion
impl Sync for SpirvVersion
impl Unpin for SpirvVersion
impl UnwindSafe for SpirvVersion
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