Enum spirv_std::image::Dimensionality
source · #[repr(u32)]pub enum Dimensionality {
OneD = 0,
TwoD = 1,
ThreeD = 2,
Cube = 3,
Rect = 4,
Buffer = 5,
SubpassData = 6,
}
Expand description
The dimension of the image.
Variants§
OneD = 0
1D
TwoD = 1
2D
ThreeD = 2
3D
Cube = 3
2D Cubemap texture
Rect = 4
2D Rectangle texture
Buffer = 5
1D Buffer texture
SubpassData = 6
Vulkan subpass buffer
Trait Implementations§
source§impl Clone for Dimensionality
impl Clone for Dimensionality
source§fn clone(&self) -> Dimensionality
fn clone(&self) -> Dimensionality
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 PartialEq for Dimensionality
impl PartialEq for Dimensionality
source§fn eq(&self, other: &Dimensionality) -> bool
fn eq(&self, other: &Dimensionality) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Dimensionality
impl Eq for Dimensionality
impl StructuralPartialEq for Dimensionality
Auto Trait Implementations§
impl Freeze for Dimensionality
impl RefUnwindSafe for Dimensionality
impl Send for Dimensionality
impl Sync for Dimensionality
impl Unpin for Dimensionality
impl UnwindSafe for Dimensionality
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