#[repr(u32)]pub enum MTLCommandBufferError {
None = 0,
Internal = 1,
Timeout = 2,
PageFault = 3,
Blacklisted = 4,
NotPermitted = 7,
OutOfMemory = 8,
InvalidResource = 9,
Memoryless = 10,
DeviceRemoved = 11,
}Expand description
Variants§
None = 0
Internal = 1
Timeout = 2
PageFault = 3
Blacklisted = 4
NotPermitted = 7
OutOfMemory = 8
InvalidResource = 9
Memoryless = 10
DeviceRemoved = 11
Trait Implementations§
Source§impl Clone for MTLCommandBufferError
impl Clone for MTLCommandBufferError
Source§fn clone(&self) -> MTLCommandBufferError
fn clone(&self) -> MTLCommandBufferError
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 MTLCommandBufferError
Source§impl Debug for MTLCommandBufferError
impl Debug for MTLCommandBufferError
impl Eq for MTLCommandBufferError
Source§impl Hash for MTLCommandBufferError
impl Hash for MTLCommandBufferError
Source§impl PartialEq for MTLCommandBufferError
impl PartialEq for MTLCommandBufferError
Source§fn eq(&self, other: &MTLCommandBufferError) -> bool
fn eq(&self, other: &MTLCommandBufferError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MTLCommandBufferError
Auto Trait Implementations§
impl Freeze for MTLCommandBufferError
impl RefUnwindSafe for MTLCommandBufferError
impl Send for MTLCommandBufferError
impl Sync for MTLCommandBufferError
impl Unpin for MTLCommandBufferError
impl UnsafeUnpin for MTLCommandBufferError
impl UnwindSafe for MTLCommandBufferError
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