Struct wgpu_types::DispatchIndirectArgs
source · #[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
)