#[repr(C, packed(1))]pub struct IndirectCommandBufferExecutionRange {
pub location: u32,
pub length: u32,
}Expand description
Execution range for indirect command buffers.
C++ equivalent: MTL::IndirectCommandBufferExecutionRange
Fields§
§location: u32The starting index.
length: u32The number of commands.
Implementations§
Trait Implementations§
Source§impl Clone for IndirectCommandBufferExecutionRange
impl Clone for IndirectCommandBufferExecutionRange
Source§fn clone(&self) -> IndirectCommandBufferExecutionRange
fn clone(&self) -> IndirectCommandBufferExecutionRange
Returns a duplicate 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 Default for IndirectCommandBufferExecutionRange
impl Default for IndirectCommandBufferExecutionRange
Source§fn default() -> IndirectCommandBufferExecutionRange
fn default() -> IndirectCommandBufferExecutionRange
Returns the “default value” for a type. Read more
Source§impl PartialEq for IndirectCommandBufferExecutionRange
impl PartialEq for IndirectCommandBufferExecutionRange
Source§fn eq(&self, other: &IndirectCommandBufferExecutionRange) -> bool
fn eq(&self, other: &IndirectCommandBufferExecutionRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IndirectCommandBufferExecutionRange
impl Eq for IndirectCommandBufferExecutionRange
impl StructuralPartialEq for IndirectCommandBufferExecutionRange
Auto Trait Implementations§
impl Freeze for IndirectCommandBufferExecutionRange
impl RefUnwindSafe for IndirectCommandBufferExecutionRange
impl Send for IndirectCommandBufferExecutionRange
impl Sync for IndirectCommandBufferExecutionRange
impl Unpin for IndirectCommandBufferExecutionRange
impl UnwindSafe for IndirectCommandBufferExecutionRange
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