#[non_exhaustive]#[repr(u32)]pub enum VkVideoComponentBitDepthFlagBitsKHR {
VK_VIDEO_COMPONENT_BIT_DEPTH_INVALID_KHR = 0,
VK_VIDEO_COMPONENT_BIT_DEPTH_8_BIT_KHR = 1,
VK_VIDEO_COMPONENT_BIT_DEPTH_10_BIT_KHR = 4,
VK_VIDEO_COMPONENT_BIT_DEPTH_12_BIT_KHR = 16,
VK_VIDEO_COMPONENT_BIT_DEPTH_FLAG_BITS_MAX_ENUM_KHR = 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_VIDEO_COMPONENT_BIT_DEPTH_INVALID_KHR = 0
VK_VIDEO_COMPONENT_BIT_DEPTH_8_BIT_KHR = 1
VK_VIDEO_COMPONENT_BIT_DEPTH_10_BIT_KHR = 4
VK_VIDEO_COMPONENT_BIT_DEPTH_12_BIT_KHR = 16
VK_VIDEO_COMPONENT_BIT_DEPTH_FLAG_BITS_MAX_ENUM_KHR = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkVideoComponentBitDepthFlagBitsKHR
impl Clone for VkVideoComponentBitDepthFlagBitsKHR
Source§fn clone(&self) -> VkVideoComponentBitDepthFlagBitsKHR
fn clone(&self) -> VkVideoComponentBitDepthFlagBitsKHR
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 PartialEq for VkVideoComponentBitDepthFlagBitsKHR
impl PartialEq for VkVideoComponentBitDepthFlagBitsKHR
Source§fn eq(&self, other: &VkVideoComponentBitDepthFlagBitsKHR) -> bool
fn eq(&self, other: &VkVideoComponentBitDepthFlagBitsKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VkVideoComponentBitDepthFlagBitsKHR
impl Eq for VkVideoComponentBitDepthFlagBitsKHR
impl StructuralPartialEq for VkVideoComponentBitDepthFlagBitsKHR
Auto Trait Implementations§
impl Freeze for VkVideoComponentBitDepthFlagBitsKHR
impl RefUnwindSafe for VkVideoComponentBitDepthFlagBitsKHR
impl Send for VkVideoComponentBitDepthFlagBitsKHR
impl Sync for VkVideoComponentBitDepthFlagBitsKHR
impl Unpin for VkVideoComponentBitDepthFlagBitsKHR
impl UnwindSafe for VkVideoComponentBitDepthFlagBitsKHR
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