#[repr(transparent)]pub struct WGPUTextureAspect(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUTextureAspect
impl WGPUTextureAspect
pub const Undefined: Self = raw::WGPUTextureAspect_WGPUTextureAspect_Undefined
pub const All: Self = raw::WGPUTextureAspect_WGPUTextureAspect_All
pub const StencilOnly: Self = raw::WGPUTextureAspect_WGPUTextureAspect_StencilOnly
pub const DepthOnly: Self = raw::WGPUTextureAspect_WGPUTextureAspect_DepthOnly
pub const Plane0Only: Self = raw::WGPUTextureAspect_WGPUTextureAspect_Plane0Only
pub const Plane1Only: Self = raw::WGPUTextureAspect_WGPUTextureAspect_Plane1Only
pub const Plane2Only: Self = raw::WGPUTextureAspect_WGPUTextureAspect_Plane2Only
Trait Implementations§
Source§impl Clone for WGPUTextureAspect
impl Clone for WGPUTextureAspect
Source§fn clone(&self) -> WGPUTextureAspect
fn clone(&self) -> WGPUTextureAspect
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 WGPUTextureAspect
impl Debug for WGPUTextureAspect
§impl Default for WGPUTextureAspect
impl Default for WGPUTextureAspect
Source§impl Hash for WGPUTextureAspect
impl Hash for WGPUTextureAspect
Source§impl Ord for WGPUTextureAspect
impl Ord for WGPUTextureAspect
Source§fn cmp(&self, other: &WGPUTextureAspect) -> Ordering
fn cmp(&self, other: &WGPUTextureAspect) -> 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 WGPUTextureAspect
impl PartialEq for WGPUTextureAspect
Source§impl PartialOrd for WGPUTextureAspect
impl PartialOrd for WGPUTextureAspect
impl Copy for WGPUTextureAspect
impl Eq for WGPUTextureAspect
impl StructuralPartialEq for WGPUTextureAspect
Auto Trait Implementations§
impl Freeze for WGPUTextureAspect
impl RefUnwindSafe for WGPUTextureAspect
impl Send for WGPUTextureAspect
impl Sync for WGPUTextureAspect
impl Unpin for WGPUTextureAspect
impl UnwindSafe for WGPUTextureAspect
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