#[repr(transparent)]pub struct IndirectCommandType(pub UInteger);Expand description
Indirect command type (bitflags).
C++ equivalent: MTL::IndirectCommandType
Tuple Fields§
§0: UIntegerImplementations§
Source§impl IndirectCommandType
impl IndirectCommandType
pub const NONE: Self
pub const DRAW: Self
pub const DRAW_INDEXED: Self
pub const DRAW_PATCHES: Self
pub const DRAW_INDEXED_PATCHES: Self
pub const CONCURRENT_DISPATCH: Self
pub const CONCURRENT_DISPATCH_THREADS: Self
pub const DRAW_MESH_THREADGROUPS: Self
pub const DRAW_MESH_THREADS: Self
Trait Implementations§
Source§impl BitAnd for IndirectCommandType
impl BitAnd for IndirectCommandType
Source§impl BitOr for IndirectCommandType
impl BitOr for IndirectCommandType
Source§impl BitOrAssign for IndirectCommandType
impl BitOrAssign for IndirectCommandType
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for IndirectCommandType
impl Clone for IndirectCommandType
Source§fn clone(&self) -> IndirectCommandType
fn clone(&self) -> IndirectCommandType
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 Debug for IndirectCommandType
impl Debug for IndirectCommandType
Source§impl Default for IndirectCommandType
impl Default for IndirectCommandType
Source§fn default() -> IndirectCommandType
fn default() -> IndirectCommandType
Returns the “default value” for a type. Read more
Source§impl Hash for IndirectCommandType
impl Hash for IndirectCommandType
Source§impl PartialEq for IndirectCommandType
impl PartialEq for IndirectCommandType
impl Copy for IndirectCommandType
impl Eq for IndirectCommandType
impl StructuralPartialEq for IndirectCommandType
Auto Trait Implementations§
impl Freeze for IndirectCommandType
impl RefUnwindSafe for IndirectCommandType
impl Send for IndirectCommandType
impl Sync for IndirectCommandType
impl Unpin for IndirectCommandType
impl UnwindSafe for IndirectCommandType
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