#[non_exhaustive]#[repr(u32)]pub enum VkOpticalFlowPerformanceLevelNV {
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_UNKNOWN_NV = 0,
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_SLOW_NV = 1,
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_MEDIUM_NV = 2,
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_FAST_NV = 3,
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_MAX_ENUM_NV = 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_OPTICAL_FLOW_PERFORMANCE_LEVEL_UNKNOWN_NV = 0
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_SLOW_NV = 1
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_MEDIUM_NV = 2
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_FAST_NV = 3
VK_OPTICAL_FLOW_PERFORMANCE_LEVEL_MAX_ENUM_NV = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkOpticalFlowPerformanceLevelNV
impl Clone for VkOpticalFlowPerformanceLevelNV
Source§fn clone(&self) -> VkOpticalFlowPerformanceLevelNV
fn clone(&self) -> VkOpticalFlowPerformanceLevelNV
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 VkOpticalFlowPerformanceLevelNV
impl PartialEq for VkOpticalFlowPerformanceLevelNV
Source§fn eq(&self, other: &VkOpticalFlowPerformanceLevelNV) -> bool
fn eq(&self, other: &VkOpticalFlowPerformanceLevelNV) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VkOpticalFlowPerformanceLevelNV
impl Eq for VkOpticalFlowPerformanceLevelNV
impl StructuralPartialEq for VkOpticalFlowPerformanceLevelNV
Auto Trait Implementations§
impl Freeze for VkOpticalFlowPerformanceLevelNV
impl RefUnwindSafe for VkOpticalFlowPerformanceLevelNV
impl Send for VkOpticalFlowPerformanceLevelNV
impl Sync for VkOpticalFlowPerformanceLevelNV
impl Unpin for VkOpticalFlowPerformanceLevelNV
impl UnwindSafe for VkOpticalFlowPerformanceLevelNV
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