Enum spirv_types::image_params::Dimensionality
source · [−]#[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
sourceimpl Clone for Dimensionality
impl Clone for Dimensionality
sourcefn clone(&self) -> Dimensionality
fn clone(&self) -> Dimensionality
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 PartialEq<Dimensionality> for Dimensionality
impl PartialEq<Dimensionality> for Dimensionality
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
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