#[repr(transparent)]pub struct DispatchIndirectCommandBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> DispatchIndirectCommandBuilder<'a>
impl<'a> DispatchIndirectCommandBuilder<'a>
pub fn x(self, x: u32) -> DispatchIndirectCommandBuilder<'a>
pub fn y(self, y: u32) -> DispatchIndirectCommandBuilder<'a>
pub fn z(self, z: u32) -> DispatchIndirectCommandBuilder<'a>
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
sourceimpl<'a> Deref for DispatchIndirectCommandBuilder<'a>
impl<'a> Deref for DispatchIndirectCommandBuilder<'a>
type Target = DispatchIndirectCommand
type Target = DispatchIndirectCommand
The resulting type after dereferencing.
sourcefn deref(&self) -> &<DispatchIndirectCommandBuilder<'a> as Deref>::Target
fn deref(&self) -> &<DispatchIndirectCommandBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for DispatchIndirectCommandBuilder<'a>
impl<'a> DerefMut for DispatchIndirectCommandBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <DispatchIndirectCommandBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <DispatchIndirectCommandBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more