pub struct OpticalFlowImageFormatPropertiesNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> OpticalFlowImageFormatPropertiesNVBuilder<'a>
impl<'a> OpticalFlowImageFormatPropertiesNVBuilder<'a>
pub fn format(self, format: Format) -> Self
Sourcepub fn build(self) -> OpticalFlowImageFormatPropertiesNV
pub fn build(self) -> OpticalFlowImageFormatPropertiesNV
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 OpticalFlowImageFormatPropertiesNVBuilder<'a>
impl<'a> Deref for OpticalFlowImageFormatPropertiesNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for OpticalFlowImageFormatPropertiesNVBuilder<'a>
impl<'a> RefUnwindSafe for OpticalFlowImageFormatPropertiesNVBuilder<'a>
impl<'a> !Send for OpticalFlowImageFormatPropertiesNVBuilder<'a>
impl<'a> !Sync for OpticalFlowImageFormatPropertiesNVBuilder<'a>
impl<'a> Unpin for OpticalFlowImageFormatPropertiesNVBuilder<'a>
impl<'a> UnwindSafe for OpticalFlowImageFormatPropertiesNVBuilder<'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