Struct vulkano::command_buffer::DispatchIndirectCommand
source · #[repr(C)]pub struct DispatchIndirectCommand {
pub x: u32,
pub y: u32,
pub z: u32,
}
Fields§
§x: u32
§y: u32
§z: u32
Trait 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
source§fn eq(&self, other: &DispatchIndirectCommand) -> bool
fn eq(&self, other: &DispatchIndirectCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DispatchIndirectCommand
impl Eq for DispatchIndirectCommand
impl Pod for DispatchIndirectCommand
impl StructuralEq for DispatchIndirectCommand
impl StructuralPartialEq for DispatchIndirectCommand
Auto Trait Implementations§
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 Twhere
T: AnyBitPattern + Send + Sync,
impl<T> BufferContents for Twhere T: AnyBitPattern + Send + Sync,
source§const LAYOUT: BufferContentsLayout = const LAYOUT: BufferContentsLayout =
if let Some(layout) = BufferContentsLayout::from_sized(Layout::new::<T>())
{
layout
} else {
{
::core::panicking::panic_fmt(<#[lang = "format_arguments"]>::new_const(&["zero-sized types are not valid buffer contents"]));
};
};
const LAYOUT: BufferContentsLayout = const LAYOUT: BufferContentsLayout = if let Some(layout) = BufferContentsLayout::from_sized(Layout::new::<T>()) { layout } else { { ::core::panicking::panic_fmt(<#[lang = "format_arguments"]>::new_const(&["zero-sized types are not valid buffer contents"])); }; };
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,
§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
.