#[repr(C)]pub struct WGPUInstanceDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub capabilities: WGPUInstanceCapabilities,
}Fields§
§nextInChain: *mut WGPUChainedStruct§capabilities: WGPUInstanceCapabilitiesTrait Implementations§
Source§impl Clone for WGPUInstanceDescriptor
impl Clone for WGPUInstanceDescriptor
Source§fn clone(&self) -> WGPUInstanceDescriptor
fn clone(&self) -> WGPUInstanceDescriptor
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 WGPUInstanceDescriptor
impl Debug for WGPUInstanceDescriptor
Source§impl Default for WGPUInstanceDescriptor
impl Default for WGPUInstanceDescriptor
Source§impl Hash for WGPUInstanceDescriptor
impl Hash for WGPUInstanceDescriptor
Source§impl Ord for WGPUInstanceDescriptor
impl Ord for WGPUInstanceDescriptor
Source§fn cmp(&self, other: &WGPUInstanceDescriptor) -> Ordering
fn cmp(&self, other: &WGPUInstanceDescriptor) -> 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 WGPUInstanceDescriptor
impl PartialEq for WGPUInstanceDescriptor
Source§impl PartialOrd for WGPUInstanceDescriptor
impl PartialOrd for WGPUInstanceDescriptor
impl Copy for WGPUInstanceDescriptor
impl Eq for WGPUInstanceDescriptor
impl StructuralPartialEq for WGPUInstanceDescriptor
Auto Trait Implementations§
impl Freeze for WGPUInstanceDescriptor
impl RefUnwindSafe for WGPUInstanceDescriptor
impl !Send for WGPUInstanceDescriptor
impl !Sync for WGPUInstanceDescriptor
impl Unpin for WGPUInstanceDescriptor
impl UnwindSafe for WGPUInstanceDescriptor
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