#[repr(transparent)]pub struct WGPUSurfaceGetCurrentTextureStatus(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUSurfaceGetCurrentTextureStatus
impl WGPUSurfaceGetCurrentTextureStatus
pub const SuccessOptimal: Self = raw::WGPUSurfaceGetCurrentTextureStatus_WGPUSurfaceGetCurrentTextureStatus_SuccessOptimal
pub const SuccessSuboptimal: Self = raw::WGPUSurfaceGetCurrentTextureStatus_WGPUSurfaceGetCurrentTextureStatus_SuccessSuboptimal
pub const Timeout: Self = raw::WGPUSurfaceGetCurrentTextureStatus_WGPUSurfaceGetCurrentTextureStatus_Timeout
pub const Outdated: Self = raw::WGPUSurfaceGetCurrentTextureStatus_WGPUSurfaceGetCurrentTextureStatus_Outdated
pub const Lost: Self = raw::WGPUSurfaceGetCurrentTextureStatus_WGPUSurfaceGetCurrentTextureStatus_Lost
pub const Error: Self = raw::WGPUSurfaceGetCurrentTextureStatus_WGPUSurfaceGetCurrentTextureStatus_Error
Trait Implementations§
Source§impl Clone for WGPUSurfaceGetCurrentTextureStatus
impl Clone for WGPUSurfaceGetCurrentTextureStatus
Source§fn clone(&self) -> WGPUSurfaceGetCurrentTextureStatus
fn clone(&self) -> WGPUSurfaceGetCurrentTextureStatus
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 Ord for WGPUSurfaceGetCurrentTextureStatus
impl Ord for WGPUSurfaceGetCurrentTextureStatus
Source§fn cmp(&self, other: &WGPUSurfaceGetCurrentTextureStatus) -> Ordering
fn cmp(&self, other: &WGPUSurfaceGetCurrentTextureStatus) -> 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 WGPUSurfaceGetCurrentTextureStatus
impl PartialEq for WGPUSurfaceGetCurrentTextureStatus
Source§fn eq(&self, other: &WGPUSurfaceGetCurrentTextureStatus) -> bool
fn eq(&self, other: &WGPUSurfaceGetCurrentTextureStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPUSurfaceGetCurrentTextureStatus
impl PartialOrd for WGPUSurfaceGetCurrentTextureStatus
impl Copy for WGPUSurfaceGetCurrentTextureStatus
impl Eq for WGPUSurfaceGetCurrentTextureStatus
impl StructuralPartialEq for WGPUSurfaceGetCurrentTextureStatus
Auto Trait Implementations§
impl Freeze for WGPUSurfaceGetCurrentTextureStatus
impl RefUnwindSafe for WGPUSurfaceGetCurrentTextureStatus
impl Send for WGPUSurfaceGetCurrentTextureStatus
impl Sync for WGPUSurfaceGetCurrentTextureStatus
impl Unpin for WGPUSurfaceGetCurrentTextureStatus
impl UnwindSafe for WGPUSurfaceGetCurrentTextureStatus
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