#[repr(u32)]pub enum Dimensionality {
OneD,
TwoD,
ThreeD,
Cube,
Rect,
Buffer,
SubpassData,
}
Expand description
The dimension of the image.
Variants§
OneD
1D
TwoD
2D
ThreeD
3D
Cube
2D Cubemap texture
Rect
2D Rectangle texture
Buffer
1D Buffer texture
SubpassData
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<Dimensionality> for Dimensionality
impl PartialEq<Dimensionality> 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 StructuralEq for Dimensionality
impl StructuralPartialEq for Dimensionality
Auto Trait Implementations§
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