pub struct HlslCompilationParams {
pub shader_model: HlslShaderModel,
pub version: HlslVersion,
pub enable16bit_types: bool,
pub spirv: bool,
}Fields§
§shader_model: HlslShaderModel§version: HlslVersion§enable16bit_types: bool§spirv: boolTrait Implementations§
Source§impl Clone for HlslCompilationParams
impl Clone for HlslCompilationParams
Source§fn clone(&self) -> HlslCompilationParams
fn clone(&self) -> HlslCompilationParams
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 HlslCompilationParams
impl Debug for HlslCompilationParams
Source§impl Default for HlslCompilationParams
impl Default for HlslCompilationParams
Source§fn default() -> HlslCompilationParams
fn default() -> HlslCompilationParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HlslCompilationParams
impl RefUnwindSafe for HlslCompilationParams
impl Send for HlslCompilationParams
impl Sync for HlslCompilationParams
impl Unpin for HlslCompilationParams
impl UnwindSafe for HlslCompilationParams
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