#[repr(C)]pub struct WGPUDeviceDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub requiredFeatureCount: usize,
pub requiredFeatures: *const WGPUFeatureName,
pub requiredLimits: *const WGPULimits,
pub defaultQueue: WGPUQueueDescriptor,
pub deviceLostCallbackInfo: WGPUDeviceLostCallbackInfo,
pub uncapturedErrorCallbackInfo: WGPUUncapturedErrorCallbackInfo,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§requiredFeatureCount: usize§requiredFeatures: *const WGPUFeatureName§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 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 WGPUDeviceDescriptor
impl Debug for WGPUDeviceDescriptor
Source§impl Default for WGPUDeviceDescriptor
impl Default for WGPUDeviceDescriptor
Source§impl Hash for WGPUDeviceDescriptor
impl Hash for WGPUDeviceDescriptor
Source§impl Ord for WGPUDeviceDescriptor
impl Ord for WGPUDeviceDescriptor
Source§fn cmp(&self, other: &WGPUDeviceDescriptor) -> Ordering
fn cmp(&self, other: &WGPUDeviceDescriptor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUDeviceDescriptor
impl PartialEq for WGPUDeviceDescriptor
Source§impl PartialOrd for WGPUDeviceDescriptor
impl PartialOrd for WGPUDeviceDescriptor
impl Copy for WGPUDeviceDescriptor
impl Eq for WGPUDeviceDescriptor
impl StructuralPartialEq 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