pub struct BindVertexBufferIndirectCommandNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> BindVertexBufferIndirectCommandNVBuilder<'a>
impl<'a> BindVertexBufferIndirectCommandNVBuilder<'a>
pub fn buffer_address( self, buffer_address: u64, ) -> BindVertexBufferIndirectCommandNVBuilder<'a>
pub fn size(self, size: u32) -> BindVertexBufferIndirectCommandNVBuilder<'a>
pub fn stride(self, stride: u32) -> BindVertexBufferIndirectCommandNVBuilder<'a>
sourcepub fn build(self) -> BindVertexBufferIndirectCommandNV
pub fn build(self) -> BindVertexBufferIndirectCommandNV
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 BindVertexBufferIndirectCommandNVBuilder<'a>
impl<'a> Deref for BindVertexBufferIndirectCommandNVBuilder<'a>
§type Target = BindVertexBufferIndirectCommandNV
type Target = BindVertexBufferIndirectCommandNV
The resulting type after dereferencing.
source§impl<'a> DerefMut for BindVertexBufferIndirectCommandNVBuilder<'a>
impl<'a> DerefMut for BindVertexBufferIndirectCommandNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for BindVertexBufferIndirectCommandNVBuilder<'a>
impl<'a> RefUnwindSafe for BindVertexBufferIndirectCommandNVBuilder<'a>
impl<'a> Send for BindVertexBufferIndirectCommandNVBuilder<'a>
impl<'a> Sync for BindVertexBufferIndirectCommandNVBuilder<'a>
impl<'a> Unpin for BindVertexBufferIndirectCommandNVBuilder<'a>
impl<'a> UnwindSafe for BindVertexBufferIndirectCommandNVBuilder<'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