#[non_exhaustive]#[repr(u32)]pub enum VkVideoCodecOperationFlagBitsKHR {
VK_VIDEO_CODEC_OPERATION_NONE_KHR = 0,
VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR = 65_536,
VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHR = 131_072,
VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR = 1,
VK_VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR = 2,
VK_VIDEO_CODEC_OPERATION_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_CODEC_OPERATION_NONE_KHR = 0
VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR = 65_536
VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHR = 131_072
VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR = 1
VK_VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR = 2
VK_VIDEO_CODEC_OPERATION_FLAG_BITS_MAX_ENUM_KHR = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkVideoCodecOperationFlagBitsKHR
impl Clone for VkVideoCodecOperationFlagBitsKHR
Source§fn clone(&self) -> VkVideoCodecOperationFlagBitsKHR
fn clone(&self) -> VkVideoCodecOperationFlagBitsKHR
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 VkVideoCodecOperationFlagBitsKHR
impl PartialEq for VkVideoCodecOperationFlagBitsKHR
Source§fn eq(&self, other: &VkVideoCodecOperationFlagBitsKHR) -> bool
fn eq(&self, other: &VkVideoCodecOperationFlagBitsKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VkVideoCodecOperationFlagBitsKHR
impl Eq for VkVideoCodecOperationFlagBitsKHR
impl StructuralPartialEq for VkVideoCodecOperationFlagBitsKHR
Auto Trait Implementations§
impl Freeze for VkVideoCodecOperationFlagBitsKHR
impl RefUnwindSafe for VkVideoCodecOperationFlagBitsKHR
impl Send for VkVideoCodecOperationFlagBitsKHR
impl Sync for VkVideoCodecOperationFlagBitsKHR
impl Unpin for VkVideoCodecOperationFlagBitsKHR
impl UnwindSafe for VkVideoCodecOperationFlagBitsKHR
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