#[repr(C)]pub struct DispatchIndirectCommand {
pub x: u32,
pub y: u32,
pub z: u32,
}Expand description
Used as buffer contents to provide input for the
AutoCommandBufferBuilder::dispatch_indirect command.
§Safety
- The
x,yandzvalues must not be greater than the respective elements of themax_compute_work_group_countdevice limit.
Fields§
§x: u32§y: u32§z: u32Trait Implementations§
Source§impl Clone for DispatchIndirectCommand
impl Clone for DispatchIndirectCommand
Source§fn clone(&self) -> DispatchIndirectCommand
fn clone(&self) -> DispatchIndirectCommand
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 DispatchIndirectCommand
impl Debug for DispatchIndirectCommand
Source§impl Default for DispatchIndirectCommand
impl Default for DispatchIndirectCommand
Source§fn default() -> DispatchIndirectCommand
fn default() -> DispatchIndirectCommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for DispatchIndirectCommand
impl PartialEq for DispatchIndirectCommand
impl Copy for DispatchIndirectCommand
impl Eq for DispatchIndirectCommand
impl Pod for DispatchIndirectCommand
impl StructuralPartialEq for DispatchIndirectCommand
Auto Trait Implementations§
impl Freeze for DispatchIndirectCommand
impl RefUnwindSafe for DispatchIndirectCommand
impl Send for DispatchIndirectCommand
impl Sync for DispatchIndirectCommand
impl Unpin for DispatchIndirectCommand
impl UnwindSafe for DispatchIndirectCommand
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> BufferContents for T
impl<T> BufferContents for T
Source§const LAYOUT: BufferContentsLayout = const LAYOUT: BufferContentsLayout =
BufferContentsLayout::from_sized(Layout::new::<T>());
const LAYOUT: BufferContentsLayout = const LAYOUT: BufferContentsLayout = BufferContentsLayout::from_sized(Layout::new::<T>());
The layout of the contents.
unsafe fn ptr_from_slice(slice: NonNull<[u8]>) -> *mut T
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.