#[repr(C)]pub struct DispatchCommand {
pub x: u32,
pub y: u32,
pub z: u32,
}Expand description
Draw command for dispatch.
Fields§
§x: u32Number of local workgroups to dispatch in the X dimension.
y: u32Number of local workgroups to dispatch in the Y dimension.
z: u32Number 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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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 UnsafeUnpin 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