#[repr(transparent)]pub struct CommandQueueError(pub Integer);Expand description
Error codes for MTL4 command queue operations.
C++ equivalent: MTL4::CommandQueueError
Tuple Fields§
§0: IntegerImplementations§
Source§impl CommandQueueError
impl CommandQueueError
Sourcepub const NOT_PERMITTED: Self
pub const NOT_PERMITTED: Self
Operation not permitted.
Sourcepub const OUT_OF_MEMORY: Self
pub const OUT_OF_MEMORY: Self
Out of memory.
Sourcepub const DEVICE_REMOVED: Self
pub const DEVICE_REMOVED: Self
Device was removed.
Sourcepub const ACCESS_REVOKED: Self
pub const ACCESS_REVOKED: Self
Access was revoked.
Trait Implementations§
Source§impl Clone for CommandQueueError
impl Clone for CommandQueueError
Source§fn clone(&self) -> CommandQueueError
fn clone(&self) -> CommandQueueError
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 CommandQueueError
impl Debug for CommandQueueError
Source§impl Default for CommandQueueError
impl Default for CommandQueueError
Source§fn default() -> CommandQueueError
fn default() -> CommandQueueError
Returns the “default value” for a type. Read more
Source§impl Hash for CommandQueueError
impl Hash for CommandQueueError
Source§impl PartialEq for CommandQueueError
impl PartialEq for CommandQueueError
impl Copy for CommandQueueError
impl Eq for CommandQueueError
impl StructuralPartialEq for CommandQueueError
Auto Trait Implementations§
impl Freeze for CommandQueueError
impl RefUnwindSafe for CommandQueueError
impl Send for CommandQueueError
impl Sync for CommandQueueError
impl Unpin for CommandQueueError
impl UnwindSafe for CommandQueueError
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