#[repr(C)]pub struct WGPUDeviceDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub requiredFeatureCount: usize,
pub requiredFeatures: *const c_int,
pub requiredLimits: *const WGPULimits,
pub defaultQueue: WGPUQueueDescriptor,
pub deviceLostCallbackInfo: WGPUDeviceLostCallbackInfo,
pub uncapturedErrorCallbackInfo: WGPUUncapturedErrorCallbackInfo,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§requiredFeatureCount: usize§requiredFeatures: *const c_int§requiredLimits: *const WGPULimits§defaultQueue: WGPUQueueDescriptor§deviceLostCallbackInfo: WGPUDeviceLostCallbackInfo§uncapturedErrorCallbackInfo: WGPUUncapturedErrorCallbackInfoTrait Implementations§
Source§impl Clone for WGPUDeviceDescriptor
impl Clone for WGPUDeviceDescriptor
Source§fn clone(&self) -> WGPUDeviceDescriptor
fn clone(&self) -> WGPUDeviceDescriptor
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 WGPUDeviceDescriptor
impl Debug for WGPUDeviceDescriptor
impl Copy for WGPUDeviceDescriptor
Auto Trait Implementations§
impl Freeze for WGPUDeviceDescriptor
impl RefUnwindSafe for WGPUDeviceDescriptor
impl !Send for WGPUDeviceDescriptor
impl !Sync for WGPUDeviceDescriptor
impl Unpin for WGPUDeviceDescriptor
impl UnwindSafe for WGPUDeviceDescriptor
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