#[repr(transparent)]pub struct CommandBufferError(pub UInteger);Expand description
Command buffer error codes.
C++ equivalent: MTL::CommandBufferError
Tuple Fields§
§0: UIntegerImplementations§
Source§impl CommandBufferError
impl CommandBufferError
pub const NONE: Self
pub const INTERNAL: Self
pub const TIMEOUT: Self
pub const PAGE_FAULT: Self
pub const BLACKLISTED: Self
pub const ACCESS_REVOKED: Self
pub const NOT_PERMITTED: Self
pub const OUT_OF_MEMORY: Self
pub const INVALID_RESOURCE: Self
pub const MEMORYLESS: Self
pub const DEVICE_REMOVED: Self
pub const STACK_OVERFLOW: Self
Trait Implementations§
Source§impl Clone for CommandBufferError
impl Clone for CommandBufferError
Source§fn clone(&self) -> CommandBufferError
fn clone(&self) -> CommandBufferError
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 CommandBufferError
impl Debug for CommandBufferError
Source§impl Default for CommandBufferError
impl Default for CommandBufferError
Source§fn default() -> CommandBufferError
fn default() -> CommandBufferError
Returns the “default value” for a type. Read more
Source§impl Hash for CommandBufferError
impl Hash for CommandBufferError
Source§impl PartialEq for CommandBufferError
impl PartialEq for CommandBufferError
impl Copy for CommandBufferError
impl Eq for CommandBufferError
impl StructuralPartialEq for CommandBufferError
Auto Trait Implementations§
impl Freeze for CommandBufferError
impl RefUnwindSafe for CommandBufferError
impl Send for CommandBufferError
impl Sync for CommandBufferError
impl Unpin for CommandBufferError
impl UnwindSafe for CommandBufferError
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