#[repr(C)]pub struct WGPURequestAdapterOptions {
pub nextInChain: *mut WGPUChainedStruct,
pub featureLevel: c_int,
pub powerPreference: c_int,
pub forceFallbackAdapter: WGPUBool,
pub backendType: c_int,
pub compatibleSurface: WGPUSurface,
}Fields§
§nextInChain: *mut WGPUChainedStruct§featureLevel: c_int§powerPreference: c_int§forceFallbackAdapter: WGPUBool§backendType: c_int§compatibleSurface: WGPUSurfaceTrait Implementations§
Source§impl Clone for WGPURequestAdapterOptions
impl Clone for WGPURequestAdapterOptions
Source§fn clone(&self) -> WGPURequestAdapterOptions
fn clone(&self) -> WGPURequestAdapterOptions
Returns a copy 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 WGPURequestAdapterOptions
impl Debug for WGPURequestAdapterOptions
impl Copy for WGPURequestAdapterOptions
Auto Trait Implementations§
impl Freeze for WGPURequestAdapterOptions
impl RefUnwindSafe for WGPURequestAdapterOptions
impl !Send for WGPURequestAdapterOptions
impl !Sync for WGPURequestAdapterOptions
impl Unpin for WGPURequestAdapterOptions
impl UnwindSafe for WGPURequestAdapterOptions
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