#[repr(transparent)]pub struct DispatchType(pub UInteger);Expand description
Dispatch type for compute commands.
C++ equivalent: MTL::DispatchType
Tuple Fields§
§0: UIntegerImplementations§
Source§impl DispatchType
impl DispatchType
pub const SERIAL: Self
pub const CONCURRENT: Self
Trait Implementations§
Source§impl Clone for DispatchType
impl Clone for DispatchType
Source§fn clone(&self) -> DispatchType
fn clone(&self) -> DispatchType
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 DispatchType
impl Debug for DispatchType
Source§impl Default for DispatchType
impl Default for DispatchType
Source§fn default() -> DispatchType
fn default() -> DispatchType
Returns the “default value” for a type. Read more
Source§impl Hash for DispatchType
impl Hash for DispatchType
Source§impl PartialEq for DispatchType
impl PartialEq for DispatchType
impl Copy for DispatchType
impl Eq for DispatchType
impl StructuralPartialEq for DispatchType
Auto Trait Implementations§
impl Freeze for DispatchType
impl RefUnwindSafe for DispatchType
impl Send for DispatchType
impl Sync for DispatchType
impl Unpin for DispatchType
impl UnwindSafe for DispatchType
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