#[repr(transparent)]pub struct MTLCommandBufferStatus(pub NSUInteger);
Available on crate feature
MTLCommandBuffer
only.Expand description
MTLCommandBufferStatus reports the current stage in the lifetime of MTLCommandBuffer, as it proceeds to enqueued, committed, scheduled, and completed.
The command buffer has not been enqueued yet.
This command buffer is enqueued, but not committed.
Commited to its command queue, but not yet scheduled for execution.
All dependencies have been resolved and the command buffer has been scheduled for execution.
The command buffer has finished executing successfully: any blocks set with -addCompletedHandler: may now be called.
Execution of the command buffer was aborted due to an error during execution. Check -error for more information.
See also Apple’s documentation
Tuple Fields§
§0: NSUInteger
Implementations§
Trait Implementations§
Source§impl Clone for MTLCommandBufferStatus
impl Clone for MTLCommandBufferStatus
Source§fn clone(&self) -> MTLCommandBufferStatus
fn clone(&self) -> MTLCommandBufferStatus
Returns a copy 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 MTLCommandBufferStatus
impl Debug for MTLCommandBufferStatus
Source§impl Encode for MTLCommandBufferStatus
impl Encode for MTLCommandBufferStatus
Source§impl Hash for MTLCommandBufferStatus
impl Hash for MTLCommandBufferStatus
Source§impl Ord for MTLCommandBufferStatus
impl Ord for MTLCommandBufferStatus
Source§fn cmp(&self, other: &MTLCommandBufferStatus) -> Ordering
fn cmp(&self, other: &MTLCommandBufferStatus) -> 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 MTLCommandBufferStatus
impl PartialEq for MTLCommandBufferStatus
Source§impl PartialOrd for MTLCommandBufferStatus
impl PartialOrd for MTLCommandBufferStatus
Source§impl RefEncode for MTLCommandBufferStatus
impl RefEncode for MTLCommandBufferStatus
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 MTLCommandBufferStatus
impl Eq for MTLCommandBufferStatus
impl StructuralPartialEq for MTLCommandBufferStatus
Auto Trait Implementations§
impl Freeze for MTLCommandBufferStatus
impl RefUnwindSafe for MTLCommandBufferStatus
impl Send for MTLCommandBufferStatus
impl Sync for MTLCommandBufferStatus
impl Unpin for MTLCommandBufferStatus
impl UnwindSafe for MTLCommandBufferStatus
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.