Struct ash::vk::OpticalFlowImageFormatInfoNVBuilder
source · 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