#[non_exhaustive]#[repr(u32)]pub enum VkIndexType {
VK_INDEX_TYPE_UINT16 = 0,
VK_INDEX_TYPE_UINT32 = 1,
VK_INDEX_TYPE_NONE_KHR = 1_000_165_000,
VK_INDEX_TYPE_UINT8_EXT = 1_000_265_000,
VK_INDEX_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_INDEX_TYPE_UINT16 = 0
VK_INDEX_TYPE_UINT32 = 1
VK_INDEX_TYPE_NONE_KHR = 1_000_165_000
VK_INDEX_TYPE_UINT8_EXT = 1_000_265_000
VK_INDEX_TYPE_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkIndexType
impl VkIndexType
pub const VK_INDEX_TYPE_NONE_NV: VkIndexType = VkIndexType::VK_INDEX_TYPE_NONE_KHR
Trait Implementations§
Source§impl Clone for VkIndexType
impl Clone for VkIndexType
Source§fn clone(&self) -> VkIndexType
fn clone(&self) -> VkIndexType
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 VkIndexType
impl Debug for VkIndexType
Source§impl Hash for VkIndexType
impl Hash for VkIndexType
Source§impl PartialEq for VkIndexType
impl PartialEq for VkIndexType
impl Copy for VkIndexType
impl Eq for VkIndexType
impl StructuralPartialEq for VkIndexType
Auto Trait Implementations§
impl Freeze for VkIndexType
impl RefUnwindSafe for VkIndexType
impl Send for VkIndexType
impl Sync for VkIndexType
impl Unpin for VkIndexType
impl UnwindSafe for VkIndexType
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