#[non_exhaustive]#[repr(u32)]pub enum VkVideoDecodeUsageFlagBitsKHR {
VK_VIDEO_DECODE_USAGE_DEFAULT_KHR = 0,
VK_VIDEO_DECODE_USAGE_TRANSCODING_BIT_KHR = 1,
VK_VIDEO_DECODE_USAGE_OFFLINE_BIT_KHR = 2,
VK_VIDEO_DECODE_USAGE_STREAMING_BIT_KHR = 4,
VK_VIDEO_DECODE_USAGE_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_DECODE_USAGE_DEFAULT_KHR = 0
VK_VIDEO_DECODE_USAGE_TRANSCODING_BIT_KHR = 1
VK_VIDEO_DECODE_USAGE_OFFLINE_BIT_KHR = 2
VK_VIDEO_DECODE_USAGE_STREAMING_BIT_KHR = 4
VK_VIDEO_DECODE_USAGE_FLAG_BITS_MAX_ENUM_KHR = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkVideoDecodeUsageFlagBitsKHR
impl Clone for VkVideoDecodeUsageFlagBitsKHR
Source§fn clone(&self) -> VkVideoDecodeUsageFlagBitsKHR
fn clone(&self) -> VkVideoDecodeUsageFlagBitsKHR
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 Hash for VkVideoDecodeUsageFlagBitsKHR
impl Hash for VkVideoDecodeUsageFlagBitsKHR
Source§impl PartialEq for VkVideoDecodeUsageFlagBitsKHR
impl PartialEq for VkVideoDecodeUsageFlagBitsKHR
Source§fn eq(&self, other: &VkVideoDecodeUsageFlagBitsKHR) -> bool
fn eq(&self, other: &VkVideoDecodeUsageFlagBitsKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VkVideoDecodeUsageFlagBitsKHR
impl Eq for VkVideoDecodeUsageFlagBitsKHR
impl StructuralPartialEq for VkVideoDecodeUsageFlagBitsKHR
Auto Trait Implementations§
impl Freeze for VkVideoDecodeUsageFlagBitsKHR
impl RefUnwindSafe for VkVideoDecodeUsageFlagBitsKHR
impl Send for VkVideoDecodeUsageFlagBitsKHR
impl Sync for VkVideoDecodeUsageFlagBitsKHR
impl Unpin for VkVideoDecodeUsageFlagBitsKHR
impl UnwindSafe for VkVideoDecodeUsageFlagBitsKHR
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