#[repr(C)]pub struct PhysicalDeviceOpticalFlowFeaturesNV {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub optical_flow: u32,
}Expand description
VkPhysicalDeviceOpticalFlowFeaturesNV
Provided by VK_NV_optical_flow.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_FEATURES_NV.
p_next: *mut c_voidOptional, may be null.
optical_flow: u32Implementations§
Source§impl PhysicalDeviceOpticalFlowFeaturesNV
impl PhysicalDeviceOpticalFlowFeaturesNV
Sourcepub fn builder<'a>() -> PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceOpticalFlowFeaturesNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceOpticalFlowFeaturesNV
impl Clone for PhysicalDeviceOpticalFlowFeaturesNV
Source§fn clone(&self) -> PhysicalDeviceOpticalFlowFeaturesNV
fn clone(&self) -> PhysicalDeviceOpticalFlowFeaturesNV
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 moreimpl Copy for PhysicalDeviceOpticalFlowFeaturesNV
impl ExtendsDeviceCreateInfo for PhysicalDeviceOpticalFlowFeaturesNV
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceOpticalFlowFeaturesNV
Auto Trait Implementations§
impl Freeze for PhysicalDeviceOpticalFlowFeaturesNV
impl RefUnwindSafe for PhysicalDeviceOpticalFlowFeaturesNV
impl !Send for PhysicalDeviceOpticalFlowFeaturesNV
impl !Sync for PhysicalDeviceOpticalFlowFeaturesNV
impl Unpin for PhysicalDeviceOpticalFlowFeaturesNV
impl UnsafeUnpin for PhysicalDeviceOpticalFlowFeaturesNV
impl UnwindSafe for PhysicalDeviceOpticalFlowFeaturesNV
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