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§
Source§impl Default for InstanceDescriptor
impl Default for InstanceDescriptor
Source§fn default() -> InstanceDescriptor
fn default() -> InstanceDescriptor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InstanceDescriptor
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