#[repr(C)]pub struct DispatchIndirectArgs {
pub x: u32,
pub y: u32,
pub z: u32,
}
Expand description
Argument buffer layout for dispatch_indirect commands.
Fields§
§x: u32
The number of work groups in X dimension.
y: u32
The number of work groups in Y dimension.
z: u32
The number of work groups in Z dimension.
Implementations§
Trait Implementations§
Source§impl Clone for DispatchIndirectArgs
impl Clone for DispatchIndirectArgs
Source§fn clone(&self) -> DispatchIndirectArgs
fn clone(&self) -> DispatchIndirectArgs
Returns a copy 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 DispatchIndirectArgs
impl Debug for DispatchIndirectArgs
Source§impl Default for DispatchIndirectArgs
impl Default for DispatchIndirectArgs
Source§fn default() -> DispatchIndirectArgs
fn default() -> DispatchIndirectArgs
Returns the “default value” for a type. Read more
impl Copy for DispatchIndirectArgs
Auto Trait Implementations§
impl Freeze for DispatchIndirectArgs
impl RefUnwindSafe for DispatchIndirectArgs
impl Send for DispatchIndirectArgs
impl Sync for DispatchIndirectArgs
impl Unpin for DispatchIndirectArgs
impl UnwindSafe for DispatchIndirectArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)