#[repr(transparent)]pub struct WGPUErrorType(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUErrorType
impl WGPUErrorType
pub const NoError: Self = raw::WGPUErrorType_WGPUErrorType_NoError
pub const Validation: Self = raw::WGPUErrorType_WGPUErrorType_Validation
pub const OutOfMemory: Self = raw::WGPUErrorType_WGPUErrorType_OutOfMemory
pub const Internal: Self = raw::WGPUErrorType_WGPUErrorType_Internal
pub const Unknown: Self = raw::WGPUErrorType_WGPUErrorType_Unknown
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