#[repr(transparent)]pub struct WGPUErrorType(pub c_int);Tuple Fields§
§0: c_intImplementations§
Source§impl WGPUErrorType
impl WGPUErrorType
pub const WGPUErrorType_NoError: WGPUErrorType
Source§impl WGPUErrorType
impl WGPUErrorType
pub const WGPUErrorType_Validation: WGPUErrorType
Source§impl WGPUErrorType
impl WGPUErrorType
pub const WGPUErrorType_OutOfMemory: WGPUErrorType
Source§impl WGPUErrorType
impl WGPUErrorType
pub const WGPUErrorType_Internal: WGPUErrorType
Source§impl WGPUErrorType
impl WGPUErrorType
pub const WGPUErrorType_Unknown: WGPUErrorType
Source§impl WGPUErrorType
impl WGPUErrorType
pub const WGPUErrorType_Force32: WGPUErrorType
Trait Implementations§
Source§impl Clone for WGPUErrorType
impl Clone for WGPUErrorType
Source§fn clone(&self) -> WGPUErrorType
fn clone(&self) -> WGPUErrorType
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 WGPUErrorType
impl Debug for WGPUErrorType
Source§impl Hash for WGPUErrorType
impl Hash for WGPUErrorType
Source§impl Ord for WGPUErrorType
impl Ord for WGPUErrorType
Source§fn cmp(&self, other: &WGPUErrorType) -> Ordering
fn cmp(&self, other: &WGPUErrorType) -> 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 WGPUErrorType
impl PartialEq for WGPUErrorType
Source§impl PartialOrd for WGPUErrorType
impl PartialOrd for WGPUErrorType
impl Copy for WGPUErrorType
impl Eq for WGPUErrorType
impl StructuralPartialEq for WGPUErrorType
Auto Trait Implementations§
impl Freeze for WGPUErrorType
impl RefUnwindSafe for WGPUErrorType
impl Send for WGPUErrorType
impl Sync for WGPUErrorType
impl Unpin for WGPUErrorType
impl UnwindSafe for WGPUErrorType
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