Enum wgpu_types::TextureDimension
source · [−]#[repr(C)]
pub enum TextureDimension {
D1,
D2,
D3,
}
Expand description
Dimensionality of a texture.
Corresponds to WebGPU GPUTextureDimension
.
Variants
D1
1D texture
D2
2D texture
D3
3D texture
Trait Implementations
sourceimpl Clone for TextureDimension
impl Clone for TextureDimension
sourcefn clone(&self) -> TextureDimension
fn clone(&self) -> TextureDimension
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TextureDimension
impl Debug for TextureDimension
sourceimpl Hash for TextureDimension
impl Hash for TextureDimension
sourceimpl PartialEq<TextureDimension> for TextureDimension
impl PartialEq<TextureDimension> for TextureDimension
impl Copy for TextureDimension
impl Eq for TextureDimension
impl StructuralEq for TextureDimension
impl StructuralPartialEq for TextureDimension
Auto Trait Implementations
impl RefUnwindSafe for TextureDimension
impl Send for TextureDimension
impl Sync for TextureDimension
impl Unpin for TextureDimension
impl UnwindSafe for TextureDimension
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more