Struct ash::vk::DispatchIndirectCommandBuilder
source · [−]#[repr(transparent)]pub struct DispatchIndirectCommandBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for DispatchIndirectCommandBuilder<'a>
impl<'a> Deref for DispatchIndirectCommandBuilder<'a>
type Target = DispatchIndirectCommand
type Target = DispatchIndirectCommand
The resulting type after dereferencing.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more