pub struct DispatchIndirectCommandBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> DispatchIndirectCommandBuilder<'a>
impl<'a> DispatchIndirectCommandBuilder<'a>
pub fn x(self, x: u32) -> Self
pub fn y(self, y: u32) -> Self
pub fn z(self, z: u32) -> Self
Sourcepub fn build(self) -> DispatchIndirectCommand
pub fn build(self) -> DispatchIndirectCommand
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 DispatchIndirectCommandBuilder<'a>
impl<'a> Deref for DispatchIndirectCommandBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DispatchIndirectCommandBuilder<'a>
impl<'a> RefUnwindSafe for DispatchIndirectCommandBuilder<'a>
impl<'a> Send for DispatchIndirectCommandBuilder<'a>
impl<'a> Sync for DispatchIndirectCommandBuilder<'a>
impl<'a> Unpin for DispatchIndirectCommandBuilder<'a>
impl<'a> UnwindSafe for DispatchIndirectCommandBuilder<'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