pub struct OpticalFlowImageFormatInfoNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> OpticalFlowImageFormatInfoNVBuilder<'a>
impl<'a> OpticalFlowImageFormatInfoNVBuilder<'a>
pub fn usage(self, usage: OpticalFlowUsageFlagsNV) -> Self
Sourcepub fn build(self) -> OpticalFlowImageFormatInfoNV
pub fn build(self) -> OpticalFlowImageFormatInfoNV
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for OpticalFlowImageFormatInfoNVBuilder<'a>
impl<'a> Deref for OpticalFlowImageFormatInfoNVBuilder<'a>
Source§impl<'a> DerefMut for OpticalFlowImageFormatInfoNVBuilder<'a>
impl<'a> DerefMut for OpticalFlowImageFormatInfoNVBuilder<'a>
impl ExtendsImageCreateInfo for OpticalFlowImageFormatInfoNVBuilder<'_>
impl ExtendsPhysicalDeviceImageFormatInfo2 for OpticalFlowImageFormatInfoNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for OpticalFlowImageFormatInfoNVBuilder<'a>
impl<'a> RefUnwindSafe for OpticalFlowImageFormatInfoNVBuilder<'a>
impl<'a> !Send for OpticalFlowImageFormatInfoNVBuilder<'a>
impl<'a> !Sync for OpticalFlowImageFormatInfoNVBuilder<'a>
impl<'a> Unpin for OpticalFlowImageFormatInfoNVBuilder<'a>
impl<'a> UnwindSafe for OpticalFlowImageFormatInfoNVBuilder<'a>
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