Enum shaderc::SpirvVersion
source · #[repr(C)]
pub enum SpirvVersion {
V1_0,
V1_1,
V1_2,
V1_3,
V1_4,
V1_5,
V1_6,
}
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<SpirvVersion> for SpirvVersion
impl PartialEq<SpirvVersion> 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 ==
.