#[non_exhaustive]#[repr(u32)]pub enum VkSampleCountFlagBits {
VK_SAMPLE_COUNT_1_BIT = 1,
VK_SAMPLE_COUNT_2_BIT = 2,
VK_SAMPLE_COUNT_4_BIT = 4,
VK_SAMPLE_COUNT_8_BIT = 8,
VK_SAMPLE_COUNT_16_BIT = 16,
VK_SAMPLE_COUNT_32_BIT = 32,
VK_SAMPLE_COUNT_64_BIT = 64,
VK_SAMPLE_COUNT_FLAG_BITS_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_SAMPLE_COUNT_1_BIT = 1
VK_SAMPLE_COUNT_2_BIT = 2
VK_SAMPLE_COUNT_4_BIT = 4
VK_SAMPLE_COUNT_8_BIT = 8
VK_SAMPLE_COUNT_16_BIT = 16
VK_SAMPLE_COUNT_32_BIT = 32
VK_SAMPLE_COUNT_64_BIT = 64
VK_SAMPLE_COUNT_FLAG_BITS_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkSampleCountFlagBits
impl Clone for VkSampleCountFlagBits
Source§fn clone(&self) -> VkSampleCountFlagBits
fn clone(&self) -> VkSampleCountFlagBits
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 Debug for VkSampleCountFlagBits
impl Debug for VkSampleCountFlagBits
Source§impl Hash for VkSampleCountFlagBits
impl Hash for VkSampleCountFlagBits
Source§impl PartialEq for VkSampleCountFlagBits
impl PartialEq for VkSampleCountFlagBits
impl Copy for VkSampleCountFlagBits
impl Eq for VkSampleCountFlagBits
impl StructuralPartialEq for VkSampleCountFlagBits
Auto Trait Implementations§
impl Freeze for VkSampleCountFlagBits
impl RefUnwindSafe for VkSampleCountFlagBits
impl Send for VkSampleCountFlagBits
impl Sync for VkSampleCountFlagBits
impl Unpin for VkSampleCountFlagBits
impl UnwindSafe for VkSampleCountFlagBits
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