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