pub struct DrawIndirectCommandBuilder { /* private fields */ }Expand description
Builder for DrawIndirectCommand.
Implementations§
Source§impl DrawIndirectCommandBuilder
impl DrawIndirectCommandBuilder
pub fn vertex_count(self, value: u32) -> DrawIndirectCommandBuilder
pub fn instance_count(self, value: u32) -> DrawIndirectCommandBuilder
pub fn first_vertex(self, value: u32) -> DrawIndirectCommandBuilder
pub fn first_instance(self, value: u32) -> DrawIndirectCommandBuilder
Trait Implementations§
Source§impl Deref for DrawIndirectCommandBuilder
impl Deref for DrawIndirectCommandBuilder
Source§type Target = DrawIndirectCommand
type Target = DrawIndirectCommand
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for DrawIndirectCommandBuilder
impl RefUnwindSafe for DrawIndirectCommandBuilder
impl Send for DrawIndirectCommandBuilder
impl Sync for DrawIndirectCommandBuilder
impl Unpin for DrawIndirectCommandBuilder
impl UnsafeUnpin 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