#[repr(transparent)]pub struct WGPUTextureViewDimension(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUTextureViewDimension
impl WGPUTextureViewDimension
pub const Undefined: Self = raw::WGPUTextureViewDimension_WGPUTextureViewDimension_Undefined
pub const D1: Self = raw::WGPUTextureViewDimension_WGPUTextureViewDimension_1D
pub const D2: Self = raw::WGPUTextureViewDimension_WGPUTextureViewDimension_2D
pub const D2Array: Self = raw::WGPUTextureViewDimension_WGPUTextureViewDimension_2DArray
pub const Cube: Self = raw::WGPUTextureViewDimension_WGPUTextureViewDimension_Cube
pub const CubeArray: Self = raw::WGPUTextureViewDimension_WGPUTextureViewDimension_CubeArray
pub const D3: Self = raw::WGPUTextureViewDimension_WGPUTextureViewDimension_3D
Trait Implementations§
Source§impl Clone for WGPUTextureViewDimension
impl Clone for WGPUTextureViewDimension
Source§fn clone(&self) -> WGPUTextureViewDimension
fn clone(&self) -> WGPUTextureViewDimension
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 WGPUTextureViewDimension
impl Debug for WGPUTextureViewDimension
§impl Default for WGPUTextureViewDimension
impl Default for WGPUTextureViewDimension
Source§impl Hash for WGPUTextureViewDimension
impl Hash for WGPUTextureViewDimension
Source§impl Ord for WGPUTextureViewDimension
impl Ord for WGPUTextureViewDimension
Source§fn cmp(&self, other: &WGPUTextureViewDimension) -> Ordering
fn cmp(&self, other: &WGPUTextureViewDimension) -> 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 WGPUTextureViewDimension
impl PartialEq for WGPUTextureViewDimension
Source§impl PartialOrd for WGPUTextureViewDimension
impl PartialOrd for WGPUTextureViewDimension
impl Copy for WGPUTextureViewDimension
impl Eq for WGPUTextureViewDimension
impl StructuralPartialEq for WGPUTextureViewDimension
Auto Trait Implementations§
impl Freeze for WGPUTextureViewDimension
impl RefUnwindSafe for WGPUTextureViewDimension
impl Send for WGPUTextureViewDimension
impl Sync for WGPUTextureViewDimension
impl Unpin for WGPUTextureViewDimension
impl UnwindSafe for WGPUTextureViewDimension
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