#[repr(transparent)]pub struct WGPUMapAsyncStatus(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUMapAsyncStatus
impl WGPUMapAsyncStatus
pub const Success: Self = raw::WGPUMapAsyncStatus_WGPUMapAsyncStatus_Success
pub const CallbackCancelled: Self = raw::WGPUMapAsyncStatus_WGPUMapAsyncStatus_CallbackCancelled
pub const Error: Self = raw::WGPUMapAsyncStatus_WGPUMapAsyncStatus_Error
pub const Aborted: Self = raw::WGPUMapAsyncStatus_WGPUMapAsyncStatus_Aborted
Trait Implementations§
Source§impl Clone for WGPUMapAsyncStatus
impl Clone for WGPUMapAsyncStatus
Source§fn clone(&self) -> WGPUMapAsyncStatus
fn clone(&self) -> WGPUMapAsyncStatus
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 WGPUMapAsyncStatus
impl Debug for WGPUMapAsyncStatus
Source§impl Hash for WGPUMapAsyncStatus
impl Hash for WGPUMapAsyncStatus
Source§impl Ord for WGPUMapAsyncStatus
impl Ord for WGPUMapAsyncStatus
Source§fn cmp(&self, other: &WGPUMapAsyncStatus) -> Ordering
fn cmp(&self, other: &WGPUMapAsyncStatus) -> 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 WGPUMapAsyncStatus
impl PartialEq for WGPUMapAsyncStatus
Source§impl PartialOrd for WGPUMapAsyncStatus
impl PartialOrd for WGPUMapAsyncStatus
impl Copy for WGPUMapAsyncStatus
impl Eq for WGPUMapAsyncStatus
impl StructuralPartialEq for WGPUMapAsyncStatus
Auto Trait Implementations§
impl Freeze for WGPUMapAsyncStatus
impl RefUnwindSafe for WGPUMapAsyncStatus
impl Send for WGPUMapAsyncStatus
impl Sync for WGPUMapAsyncStatus
impl Unpin for WGPUMapAsyncStatus
impl UnwindSafe for WGPUMapAsyncStatus
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