#[repr(u32)]pub enum MTLDispatchType {
Serial = 0,
Concurrent = 1,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for MTLDispatchType
impl Clone for MTLDispatchType
Source§fn clone(&self) -> MTLDispatchType
fn clone(&self) -> MTLDispatchType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MTLDispatchType
Source§impl Debug for MTLDispatchType
impl Debug for MTLDispatchType
impl Eq for MTLDispatchType
Source§impl Hash for MTLDispatchType
impl Hash for MTLDispatchType
Source§impl PartialEq for MTLDispatchType
impl PartialEq for MTLDispatchType
Source§fn eq(&self, other: &MTLDispatchType) -> bool
fn eq(&self, other: &MTLDispatchType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MTLDispatchType
Auto Trait Implementations§
impl Freeze for MTLDispatchType
impl RefUnwindSafe for MTLDispatchType
impl Send for MTLDispatchType
impl Sync for MTLDispatchType
impl Unpin for MTLDispatchType
impl UnsafeUnpin for MTLDispatchType
impl UnwindSafe for MTLDispatchType
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