Struct ash::vk::IndirectCommandsStreamNVBuilder
source · pub struct IndirectCommandsStreamNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> IndirectCommandsStreamNVBuilder<'a>
impl<'a> IndirectCommandsStreamNVBuilder<'a>
pub fn buffer(self, buffer: Buffer) -> Self
pub fn offset(self, offset: DeviceSize) -> Self
sourcepub fn build(self) -> IndirectCommandsStreamNV
pub fn build(self) -> IndirectCommandsStreamNV
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 IndirectCommandsStreamNVBuilder<'a>
impl<'a> Deref for IndirectCommandsStreamNVBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for IndirectCommandsStreamNVBuilder<'a>
impl<'a> Send for IndirectCommandsStreamNVBuilder<'a>
impl<'a> Sync for IndirectCommandsStreamNVBuilder<'a>
impl<'a> Unpin for IndirectCommandsStreamNVBuilder<'a>
impl<'a> UnwindSafe for IndirectCommandsStreamNVBuilder<'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