#[non_exhaustive]#[repr(u32)]pub enum VkVideoEncodeContentFlagBitsKHR {
VK_VIDEO_ENCODE_CONTENT_DEFAULT_KHR = 0,
VK_VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHR = 1,
VK_VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHR = 2,
VK_VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHR = 4,
VK_VIDEO_ENCODE_CONTENT_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_ENCODE_CONTENT_DEFAULT_KHR = 0
VK_VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHR = 1
VK_VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHR = 2
VK_VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHR = 4
VK_VIDEO_ENCODE_CONTENT_FLAG_BITS_MAX_ENUM_KHR = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkVideoEncodeContentFlagBitsKHR
impl Clone for VkVideoEncodeContentFlagBitsKHR
Source§fn clone(&self) -> VkVideoEncodeContentFlagBitsKHR
fn clone(&self) -> VkVideoEncodeContentFlagBitsKHR
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 VkVideoEncodeContentFlagBitsKHR
impl PartialEq for VkVideoEncodeContentFlagBitsKHR
Source§fn eq(&self, other: &VkVideoEncodeContentFlagBitsKHR) -> bool
fn eq(&self, other: &VkVideoEncodeContentFlagBitsKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VkVideoEncodeContentFlagBitsKHR
impl Eq for VkVideoEncodeContentFlagBitsKHR
impl StructuralPartialEq for VkVideoEncodeContentFlagBitsKHR
Auto Trait Implementations§
impl Freeze for VkVideoEncodeContentFlagBitsKHR
impl RefUnwindSafe for VkVideoEncodeContentFlagBitsKHR
impl Send for VkVideoEncodeContentFlagBitsKHR
impl Sync for VkVideoEncodeContentFlagBitsKHR
impl Unpin for VkVideoEncodeContentFlagBitsKHR
impl UnwindSafe for VkVideoEncodeContentFlagBitsKHR
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