#[non_exhaustive]#[repr(u32)]pub enum VkOpticalFlowSessionCreateFlagBitsNV {
VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_HINT_BIT_NV = 1,
VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_COST_BIT_NV = 2,
VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_GLOBAL_FLOW_BIT_NV = 4,
VK_OPTICAL_FLOW_SESSION_CREATE_ALLOW_REGIONS_BIT_NV = 8,
VK_OPTICAL_FLOW_SESSION_CREATE_BOTH_DIRECTIONS_BIT_NV = 16,
VK_OPTICAL_FLOW_SESSION_CREATE_FLAG_BITS_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_SESSION_CREATE_ENABLE_HINT_BIT_NV = 1
VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_COST_BIT_NV = 2
VK_OPTICAL_FLOW_SESSION_CREATE_ENABLE_GLOBAL_FLOW_BIT_NV = 4
VK_OPTICAL_FLOW_SESSION_CREATE_ALLOW_REGIONS_BIT_NV = 8
VK_OPTICAL_FLOW_SESSION_CREATE_BOTH_DIRECTIONS_BIT_NV = 16
VK_OPTICAL_FLOW_SESSION_CREATE_FLAG_BITS_MAX_ENUM_NV = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkOpticalFlowSessionCreateFlagBitsNV
impl Clone for VkOpticalFlowSessionCreateFlagBitsNV
Source§fn clone(&self) -> VkOpticalFlowSessionCreateFlagBitsNV
fn clone(&self) -> VkOpticalFlowSessionCreateFlagBitsNV
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 VkOpticalFlowSessionCreateFlagBitsNV
impl PartialEq for VkOpticalFlowSessionCreateFlagBitsNV
Source§fn eq(&self, other: &VkOpticalFlowSessionCreateFlagBitsNV) -> bool
fn eq(&self, other: &VkOpticalFlowSessionCreateFlagBitsNV) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VkOpticalFlowSessionCreateFlagBitsNV
impl Eq for VkOpticalFlowSessionCreateFlagBitsNV
impl StructuralPartialEq for VkOpticalFlowSessionCreateFlagBitsNV
Auto Trait Implementations§
impl Freeze for VkOpticalFlowSessionCreateFlagBitsNV
impl RefUnwindSafe for VkOpticalFlowSessionCreateFlagBitsNV
impl Send for VkOpticalFlowSessionCreateFlagBitsNV
impl Sync for VkOpticalFlowSessionCreateFlagBitsNV
impl Unpin for VkOpticalFlowSessionCreateFlagBitsNV
impl UnwindSafe for VkOpticalFlowSessionCreateFlagBitsNV
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