#[non_exhaustive]#[repr(u32)]pub enum VkImageViewType {
VK_IMAGE_VIEW_TYPE_1D = 0,
VK_IMAGE_VIEW_TYPE_2D = 1,
VK_IMAGE_VIEW_TYPE_3D = 2,
VK_IMAGE_VIEW_TYPE_CUBE = 3,
VK_IMAGE_VIEW_TYPE_1D_ARRAY = 4,
VK_IMAGE_VIEW_TYPE_2D_ARRAY = 5,
VK_IMAGE_VIEW_TYPE_CUBE_ARRAY = 6,
VK_IMAGE_VIEW_TYPE_MAX_ENUM = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VK_IMAGE_VIEW_TYPE_1D = 0
VK_IMAGE_VIEW_TYPE_2D = 1
VK_IMAGE_VIEW_TYPE_3D = 2
VK_IMAGE_VIEW_TYPE_CUBE = 3
VK_IMAGE_VIEW_TYPE_1D_ARRAY = 4
VK_IMAGE_VIEW_TYPE_2D_ARRAY = 5
VK_IMAGE_VIEW_TYPE_CUBE_ARRAY = 6
VK_IMAGE_VIEW_TYPE_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkImageViewType
impl Clone for VkImageViewType
Source§fn clone(&self) -> VkImageViewType
fn clone(&self) -> VkImageViewType
Returns a duplicate 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 Debug for VkImageViewType
impl Debug for VkImageViewType
Source§impl Hash for VkImageViewType
impl Hash for VkImageViewType
Source§impl PartialEq for VkImageViewType
impl PartialEq for VkImageViewType
impl Copy for VkImageViewType
impl Eq for VkImageViewType
impl StructuralPartialEq for VkImageViewType
Auto Trait Implementations§
impl Freeze for VkImageViewType
impl RefUnwindSafe for VkImageViewType
impl Send for VkImageViewType
impl Sync for VkImageViewType
impl Unpin for VkImageViewType
impl UnwindSafe for VkImageViewType
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