#[repr(u32)]pub enum WGPUSurfaceGetCurrentTextureStatus {
SuccessOptimal = 1,
SuccessSuboptimal = 2,
Timeout = 3,
Outdated = 4,
Lost = 5,
Error = 6,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WGPUSurfaceGetCurrentTextureStatus
impl Clone for WGPUSurfaceGetCurrentTextureStatus
Source§fn clone(&self) -> WGPUSurfaceGetCurrentTextureStatus
fn clone(&self) -> WGPUSurfaceGetCurrentTextureStatus
Returns a copy 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<'_derivative_strum> From<&'_derivative_strum WGPUSurfaceGetCurrentTextureStatus> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUSurfaceGetCurrentTextureStatus> for &'static str
Source§fn from(
x: &'_derivative_strum WGPUSurfaceGetCurrentTextureStatus,
) -> &'static str
fn from( x: &'_derivative_strum WGPUSurfaceGetCurrentTextureStatus, ) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUSurfaceGetCurrentTextureStatus> for &'static str
impl From<WGPUSurfaceGetCurrentTextureStatus> for &'static str
Source§fn from(x: WGPUSurfaceGetCurrentTextureStatus) -> &'static str
fn from(x: WGPUSurfaceGetCurrentTextureStatus) -> &'static str
Converts to this type from the input type.
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 TryFrom<&str> for WGPUSurfaceGetCurrentTextureStatus
impl TryFrom<&str> 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