pub enum SurfaceGetCurrentTextureStatus {
SuccessOptimal,
SuccessSuboptimal,
Timeout,
Outdated,
Lost,
Error,
}Variants§
Trait Implementations§
Source§impl Clone for SurfaceGetCurrentTextureStatus
impl Clone for SurfaceGetCurrentTextureStatus
Source§fn clone(&self) -> SurfaceGetCurrentTextureStatus
fn clone(&self) -> SurfaceGetCurrentTextureStatus
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 From<SurfaceGetCurrentTextureStatus> for c_uint
impl From<SurfaceGetCurrentTextureStatus> for c_uint
Source§fn from(value: SurfaceGetCurrentTextureStatus) -> Self
fn from(value: SurfaceGetCurrentTextureStatus) -> Self
Converts to this type from the input type.
Source§impl From<u32> for SurfaceGetCurrentTextureStatus
impl From<u32> for SurfaceGetCurrentTextureStatus
Source§impl PartialEq for SurfaceGetCurrentTextureStatus
impl PartialEq for SurfaceGetCurrentTextureStatus
Source§fn eq(&self, other: &SurfaceGetCurrentTextureStatus) -> bool
fn eq(&self, other: &SurfaceGetCurrentTextureStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SurfaceGetCurrentTextureStatus
impl Eq for SurfaceGetCurrentTextureStatus
impl StructuralPartialEq for SurfaceGetCurrentTextureStatus
Auto Trait Implementations§
impl Freeze for SurfaceGetCurrentTextureStatus
impl RefUnwindSafe for SurfaceGetCurrentTextureStatus
impl Send for SurfaceGetCurrentTextureStatus
impl Sync for SurfaceGetCurrentTextureStatus
impl Unpin for SurfaceGetCurrentTextureStatus
impl UnsafeUnpin for SurfaceGetCurrentTextureStatus
impl UnwindSafe for SurfaceGetCurrentTextureStatus
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