#[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
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