Struct wgpu_types::InstanceDescriptor
source · pub struct InstanceDescriptor {
pub backends: Backends,
pub dx12_shader_compiler: Dx12Compiler,
}
Expand description
Options for creating an instance.
Fields§
§backends: Backends
Which Backends
to enable.
dx12_shader_compiler: Dx12Compiler
Which DX12 shader compiler to use.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InstanceDescriptor
impl Send for InstanceDescriptor
impl Sync for InstanceDescriptor
impl Unpin for InstanceDescriptor
impl UnwindSafe for InstanceDescriptor
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