#[repr(C, packed(1))]pub struct DrawPrimitivesIndirectArguments {
pub vertex_count: u32,
pub instance_count: u32,
pub vertex_start: u32,
pub base_instance: u32,
}Expand description
Indirect arguments for drawing primitives.
C++ equivalent: MTL::DrawPrimitivesIndirectArguments
Fields§
§vertex_count: u32§instance_count: u32§vertex_start: u32§base_instance: u32Trait Implementations§
Source§impl Clone for DrawPrimitivesIndirectArguments
impl Clone for DrawPrimitivesIndirectArguments
Source§fn clone(&self) -> DrawPrimitivesIndirectArguments
fn clone(&self) -> DrawPrimitivesIndirectArguments
Returns a duplicate 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 Default for DrawPrimitivesIndirectArguments
impl Default for DrawPrimitivesIndirectArguments
Source§fn default() -> DrawPrimitivesIndirectArguments
fn default() -> DrawPrimitivesIndirectArguments
Returns the “default value” for a type. Read more
Source§impl PartialEq for DrawPrimitivesIndirectArguments
impl PartialEq for DrawPrimitivesIndirectArguments
Source§fn eq(&self, other: &DrawPrimitivesIndirectArguments) -> bool
fn eq(&self, other: &DrawPrimitivesIndirectArguments) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DrawPrimitivesIndirectArguments
impl Eq for DrawPrimitivesIndirectArguments
impl StructuralPartialEq for DrawPrimitivesIndirectArguments
Auto Trait Implementations§
impl Freeze for DrawPrimitivesIndirectArguments
impl RefUnwindSafe for DrawPrimitivesIndirectArguments
impl Send for DrawPrimitivesIndirectArguments
impl Sync for DrawPrimitivesIndirectArguments
impl Unpin for DrawPrimitivesIndirectArguments
impl UnwindSafe for DrawPrimitivesIndirectArguments
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