#[non_exhaustive]pub enum ShaderModel {
V3_0,
V4_0,
V4_0L9_0,
V4_0L9_1,
V4_0L9_3,
V4_1,
V5_0,
V5_1,
V6_0,
}Expand description
A HLSL shader model version.
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.
Trait Implementations§
Source§impl Clone for ShaderModel
impl Clone for ShaderModel
Source§fn clone(&self) -> ShaderModel
fn clone(&self) -> ShaderModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShaderModel
Source§impl Debug for ShaderModel
impl Debug for ShaderModel
impl Eq for ShaderModel
Source§impl Hash for ShaderModel
impl Hash for ShaderModel
Source§impl PartialEq for ShaderModel
impl PartialEq for ShaderModel
Source§fn eq(&self, other: &ShaderModel) -> bool
fn eq(&self, other: &ShaderModel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShaderModel
Auto Trait Implementations§
impl Freeze for ShaderModel
impl RefUnwindSafe for ShaderModel
impl Send for ShaderModel
impl Sync for ShaderModel
impl Unpin for ShaderModel
impl UnsafeUnpin for ShaderModel
impl UnwindSafe for ShaderModel
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