pub struct ShaderModel {
pub kind: ShaderKind,
pub major: u8,
pub minor: u8,
pub instructions: Vec<Instruction>,
}Fields§
§kind: ShaderKind§major: u8§minor: u8§instructions: Vec<Instruction>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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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