#[repr(C, packed(1))]pub struct DrawPatchIndirectArguments {
pub patch_count: u32,
pub instance_count: u32,
pub patch_start: u32,
pub base_instance: u32,
}Expand description
Indirect arguments for drawing patches.
C++ equivalent: MTL::DrawPatchIndirectArguments
Fields§
§patch_count: u32§instance_count: u32§patch_start: u32§base_instance: u32Trait Implementations§
Source§impl Clone for DrawPatchIndirectArguments
impl Clone for DrawPatchIndirectArguments
Source§fn clone(&self) -> DrawPatchIndirectArguments
fn clone(&self) -> DrawPatchIndirectArguments
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 Debug for DrawPatchIndirectArguments
impl Debug for DrawPatchIndirectArguments
Source§impl Default for DrawPatchIndirectArguments
impl Default for DrawPatchIndirectArguments
Source§fn default() -> DrawPatchIndirectArguments
fn default() -> DrawPatchIndirectArguments
Returns the “default value” for a type. Read more
Source§impl Hash for DrawPatchIndirectArguments
impl Hash for DrawPatchIndirectArguments
impl Copy for DrawPatchIndirectArguments
impl Eq for DrawPatchIndirectArguments
impl StructuralPartialEq for DrawPatchIndirectArguments
Auto Trait Implementations§
impl Freeze for DrawPatchIndirectArguments
impl RefUnwindSafe for DrawPatchIndirectArguments
impl Send for DrawPatchIndirectArguments
impl Sync for DrawPatchIndirectArguments
impl Unpin for DrawPatchIndirectArguments
impl UnwindSafe for DrawPatchIndirectArguments
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