pub struct ShaderModel(pub u32, pub u32);Expand description
Indicates a shader model.
Tuple Fields§
§0: u32§1: u32Trait 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 · 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 ShaderModel
impl Debug for ShaderModel
Source§impl From<ShaderModel> for D3D_SHADER_MODEL
Available on crate feature d3d12 only.
impl From<ShaderModel> for D3D_SHADER_MODEL
Available on crate feature
d3d12 only.Source§fn from(src: ShaderModel) -> D3D_SHADER_MODEL
fn from(src: ShaderModel) -> D3D_SHADER_MODEL
Converts to this type from the input type.
Source§impl From<u32> for ShaderModel
Available on crate feature d3d12 only.
impl From<u32> for ShaderModel
Available on crate feature
d3d12 only.Source§fn from(src: D3D_SHADER_MODEL) -> ShaderModel
fn from(src: D3D_SHADER_MODEL) -> ShaderModel
Converts to this type from the input type.
Source§impl PartialEq for ShaderModel
impl PartialEq for ShaderModel
impl Copy for ShaderModel
impl Eq for ShaderModel
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