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