Struct vulkanalia::vk::DrawIndirectCommandBuilder
source · #[repr(transparent)]pub struct DrawIndirectCommandBuilder { /* private fields */ }
Expand description
A builder for a DrawIndirectCommand
.
Implementations§
source§impl DrawIndirectCommandBuilder
impl DrawIndirectCommandBuilder
pub fn vertex_count(self, vertex_count: u32) -> Self
pub fn instance_count(self, instance_count: u32) -> Self
pub fn first_vertex(self, first_vertex: u32) -> Self
pub fn first_instance(self, first_instance: u32) -> Self
pub fn build(self) -> DrawIndirectCommand
Trait Implementations§
source§impl Cast for DrawIndirectCommandBuilder
impl Cast for DrawIndirectCommandBuilder
§type Target = DrawIndirectCommand
type Target = DrawIndirectCommand
The other type this type can be used interchangeably with in FFI.
source§impl Clone for DrawIndirectCommandBuilder
impl Clone for DrawIndirectCommandBuilder
source§fn clone(&self) -> DrawIndirectCommandBuilder
fn clone(&self) -> DrawIndirectCommandBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DrawIndirectCommandBuilder
impl Debug for DrawIndirectCommandBuilder
source§impl Default for DrawIndirectCommandBuilder
impl Default for DrawIndirectCommandBuilder
source§fn default() -> DrawIndirectCommandBuilder
fn default() -> DrawIndirectCommandBuilder
Returns the “default value” for a type. Read more
source§impl Deref for DrawIndirectCommandBuilder
impl Deref for DrawIndirectCommandBuilder
impl Copy for DrawIndirectCommandBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DrawIndirectCommandBuilder
impl Send for DrawIndirectCommandBuilder
impl Sync for DrawIndirectCommandBuilder
impl Unpin for DrawIndirectCommandBuilder
impl UnwindSafe for DrawIndirectCommandBuilder
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