Enum spirv_to_dxil::ShaderModel
source · #[non_exhaustive]#[repr(i32)]pub enum ShaderModel {
ShaderModel6_0 = 393_216,
ShaderModel6_1 = 393_217,
ShaderModel6_2 = 393_218,
ShaderModel6_3 = 393_219,
ShaderModel6_4 = 393_220,
ShaderModel6_5 = 393_221,
ShaderModel6_6 = 393_222,
ShaderModel6_7 = 393_223,
ShaderModel6_8 = 393_224,
}
Expand description
The DXIL shader model to target.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ShaderModel6_0 = 393_216
ShaderModel6_1 = 393_217
ShaderModel6_2 = 393_218
ShaderModel6_3 = 393_219
ShaderModel6_4 = 393_220
ShaderModel6_5 = 393_221
ShaderModel6_6 = 393_222
ShaderModel6_7 = 393_223
ShaderModel6_8 = 393_224
Trait Implementations§
source§impl Clone for dxil_shader_model
impl Clone for dxil_shader_model
source§fn clone(&self) -> dxil_shader_model
fn clone(&self) -> dxil_shader_model
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 dxil_shader_model
impl Debug for dxil_shader_model
source§impl Hash for dxil_shader_model
impl Hash for dxil_shader_model
source§impl PartialEq for dxil_shader_model
impl PartialEq for dxil_shader_model
source§fn eq(&self, other: &dxil_shader_model) -> bool
fn eq(&self, other: &dxil_shader_model) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for dxil_shader_model
impl Eq for dxil_shader_model
impl StructuralPartialEq for dxil_shader_model
Auto Trait Implementations§
impl RefUnwindSafe for dxil_shader_model
impl Send for dxil_shader_model
impl Sync for dxil_shader_model
impl Unpin for dxil_shader_model
impl UnwindSafe for dxil_shader_model
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