#[repr(transparent)]pub struct MTL4CommandQueueError(pub NSInteger);Available on crate feature
MTL4CommandQueue only.Expand description
Enumeration of kinds of errors that committing an array of command buffers instances can produce.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl MTL4CommandQueueError
impl MTL4CommandQueueError
Sourcepub const NotPermitted: Self
pub const NotPermitted: Self
Indicates a process doesn’t have access to a GPU device.
Sourcepub const OutOfMemory: Self
pub const OutOfMemory: Self
Indicates the GPU doesn’t have sufficient memory to execute a command buffer.
Sourcepub const DeviceRemoved: Self
pub const DeviceRemoved: Self
Indicates the physical removal of the GPU before the command buffer completed.
Sourcepub const AccessRevoked: Self
pub const AccessRevoked: Self
Indicates that the system revokes GPU access because it’s responsible for too many timeouts or hangs.
Trait Implementations§
Source§impl Clone for MTL4CommandQueueError
impl Clone for MTL4CommandQueueError
Source§fn clone(&self) -> MTL4CommandQueueError
fn clone(&self) -> MTL4CommandQueueError
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 MTL4CommandQueueError
impl Debug for MTL4CommandQueueError
Source§impl Encode for MTL4CommandQueueError
impl Encode for MTL4CommandQueueError
Source§impl Hash for MTL4CommandQueueError
impl Hash for MTL4CommandQueueError
Source§impl Ord for MTL4CommandQueueError
impl Ord for MTL4CommandQueueError
Source§fn cmp(&self, other: &MTL4CommandQueueError) -> Ordering
fn cmp(&self, other: &MTL4CommandQueueError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MTL4CommandQueueError
impl PartialEq for MTL4CommandQueueError
Source§impl PartialOrd for MTL4CommandQueueError
impl PartialOrd for MTL4CommandQueueError
Source§impl RefEncode for MTL4CommandQueueError
impl RefEncode for MTL4CommandQueueError
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTL4CommandQueueError
impl Eq for MTL4CommandQueueError
impl StructuralPartialEq for MTL4CommandQueueError
Auto Trait Implementations§
impl Freeze for MTL4CommandQueueError
impl RefUnwindSafe for MTL4CommandQueueError
impl Send for MTL4CommandQueueError
impl Sync for MTL4CommandQueueError
impl Unpin for MTL4CommandQueueError
impl UnwindSafe for MTL4CommandQueueError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.