#[repr(C)]pub struct DrawIndexedIndirectCommand {
pub index_count: u32,
pub instance_count: u32,
pub first_index: u32,
pub vertex_offset: i32,
pub first_instance: u32,
}Expand description
Fields§
§index_count: u32§instance_count: u32§first_index: u32§vertex_offset: i32§first_instance: u32Implementations§
Source§impl DrawIndexedIndirectCommand
impl DrawIndexedIndirectCommand
pub fn index_count(self, index_count: u32) -> DrawIndexedIndirectCommand
pub fn instance_count(self, instance_count: u32) -> DrawIndexedIndirectCommand
pub fn first_index(self, first_index: u32) -> DrawIndexedIndirectCommand
pub fn vertex_offset(self, vertex_offset: i32) -> DrawIndexedIndirectCommand
pub fn first_instance(self, first_instance: u32) -> DrawIndexedIndirectCommand
Trait Implementations§
Source§impl Clone for DrawIndexedIndirectCommand
impl Clone for DrawIndexedIndirectCommand
Source§fn clone(&self) -> DrawIndexedIndirectCommand
fn clone(&self) -> DrawIndexedIndirectCommand
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DrawIndexedIndirectCommand
impl Debug for DrawIndexedIndirectCommand
Source§impl Default for DrawIndexedIndirectCommand
impl Default for DrawIndexedIndirectCommand
Source§fn default() -> DrawIndexedIndirectCommand
fn default() -> DrawIndexedIndirectCommand
Returns the “default value” for a type. Read more
impl Copy for DrawIndexedIndirectCommand
Auto Trait Implementations§
impl Freeze for DrawIndexedIndirectCommand
impl RefUnwindSafe for DrawIndexedIndirectCommand
impl Send for DrawIndexedIndirectCommand
impl Sync for DrawIndexedIndirectCommand
impl Unpin for DrawIndexedIndirectCommand
impl UnwindSafe for DrawIndexedIndirectCommand
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)