pub struct OpticalFlowExecuteInfoNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> OpticalFlowExecuteInfoNVBuilder<'a>
impl<'a> OpticalFlowExecuteInfoNVBuilder<'a>
pub fn flags(self, flags: OpticalFlowExecuteFlagsNV) -> Self
pub fn regions(self, regions: &'a [Rect2D]) -> Self
Sourcepub fn build(self) -> OpticalFlowExecuteInfoNV
pub fn build(self) -> OpticalFlowExecuteInfoNV
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 OpticalFlowExecuteInfoNVBuilder<'a>
impl<'a> Deref for OpticalFlowExecuteInfoNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for OpticalFlowExecuteInfoNVBuilder<'a>
impl<'a> RefUnwindSafe for OpticalFlowExecuteInfoNVBuilder<'a>
impl<'a> !Send for OpticalFlowExecuteInfoNVBuilder<'a>
impl<'a> !Sync for OpticalFlowExecuteInfoNVBuilder<'a>
impl<'a> Unpin for OpticalFlowExecuteInfoNVBuilder<'a>
impl<'a> UnwindSafe for OpticalFlowExecuteInfoNVBuilder<'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