#[repr(C)]pub struct DispatchCommand {
pub x: u32,
pub y: u32,
pub z: u32,
}
Expand description
Draw command for dispatch.
Fields§
§x: u32
Number of local workgroups to dispatch in the X dimension.
y: u32
Number of local workgroups to dispatch in the Y dimension.
z: u32
Number of local workgroups to dispatch in the Z dimension.
Trait Implementations§
Source§impl Clone for DispatchCommand
impl Clone for DispatchCommand
Source§fn clone(&self) -> DispatchCommand
fn clone(&self) -> DispatchCommand
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 DispatchCommand
impl Debug for DispatchCommand
impl Copy for DispatchCommand
Auto Trait Implementations§
impl Freeze for DispatchCommand
impl RefUnwindSafe for DispatchCommand
impl Send for DispatchCommand
impl Sync for DispatchCommand
impl Unpin for DispatchCommand
impl UnwindSafe for DispatchCommand
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
)