pub struct OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
impl<'a> OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
pub fn id(self, id: u32) -> Self
pub fn size(self, size: u32) -> Self
pub fn private_data(self, private_data: *const c_void) -> Self
sourcepub fn build(self) -> OpticalFlowSessionCreatePrivateDataInfoNV
pub fn build(self) -> OpticalFlowSessionCreatePrivateDataInfoNV
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 OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
impl<'a> Deref for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
source§impl<'a> DerefMut for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
impl<'a> DerefMut for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
impl ExtendsOpticalFlowSessionCreateInfoNV for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
impl<'a> RefUnwindSafe for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
impl<'a> !Send for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
impl<'a> !Sync for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
impl<'a> Unpin for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'a>
impl<'a> UnwindSafe for OpticalFlowSessionCreatePrivateDataInfoNVBuilder<'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