#[non_exhaustive]#[repr(u32)]pub enum VkImageType {
VK_IMAGE_TYPE_1D = 0,
VK_IMAGE_TYPE_2D = 1,
VK_IMAGE_TYPE_3D = 2,
VK_IMAGE_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_TYPE_1D = 0
VK_IMAGE_TYPE_2D = 1
VK_IMAGE_TYPE_3D = 2
VK_IMAGE_TYPE_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkImageType
impl Clone for VkImageType
Source§fn clone(&self) -> VkImageType
fn clone(&self) -> VkImageType
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 VkImageType
impl Debug for VkImageType
Source§impl Hash for VkImageType
impl Hash for VkImageType
Source§impl PartialEq for VkImageType
impl PartialEq for VkImageType
impl Copy for VkImageType
impl Eq for VkImageType
impl StructuralPartialEq for VkImageType
Auto Trait Implementations§
impl Freeze for VkImageType
impl RefUnwindSafe for VkImageType
impl Send for VkImageType
impl Sync for VkImageType
impl Unpin for VkImageType
impl UnwindSafe for VkImageType
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