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