#[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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MTLCommandBufferError
impl Debug for MTLCommandBufferError
Source§impl Hash for MTLCommandBufferError
impl Hash for MTLCommandBufferError
Source§impl PartialEq for MTLCommandBufferError
impl PartialEq for MTLCommandBufferError
impl Copy for MTLCommandBufferError
impl Eq for MTLCommandBufferError
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 UnwindSafe for MTLCommandBufferError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)