pub struct CommandBufferEncoderInfo(/* private fields */);Expand description
Information about an encoder in a command buffer.
C++ equivalent: MTL::CommandBufferEncoderInfo
This type provides debugging information about encoders that have contributed to a command buffer, including their error state and debug signposts.
Implementations§
Source§impl CommandBufferEncoderInfo
impl CommandBufferEncoderInfo
Sourcepub fn label(&self) -> Option<String>
pub fn label(&self) -> Option<String>
Get the label of the encoder.
C++ equivalent: NS::String* label() const
Sourcepub fn error_state(&self) -> CommandEncoderErrorState
pub fn error_state(&self) -> CommandEncoderErrorState
Get the error state of the encoder.
C++ equivalent: CommandEncoderErrorState errorState() const
Sourcepub fn debug_signposts_ptr(&self) -> *mut c_void
pub fn debug_signposts_ptr(&self) -> *mut c_void
Get the debug signposts as raw pointer.
Returns a pointer to an NSArray of debug signpost strings.
C++ equivalent: NS::Array* debugSignposts() const
Trait Implementations§
Source§impl Clone for CommandBufferEncoderInfo
impl Clone for CommandBufferEncoderInfo
Source§impl Debug for CommandBufferEncoderInfo
impl Debug for CommandBufferEncoderInfo
Source§impl Drop for CommandBufferEncoderInfo
impl Drop for CommandBufferEncoderInfo
Source§impl Referencing for CommandBufferEncoderInfo
impl Referencing for CommandBufferEncoderInfo
Source§fn as_mut_ptr(&self) -> *mut c_void
fn as_mut_ptr(&self) -> *mut c_void
Get the raw mutable pointer to the Objective-C object.
Source§fn retain(&self) -> Selfwhere
Self: Clone,
fn retain(&self) -> Selfwhere
Self: Clone,
Retain the object, incrementing its reference count. Read more
Source§fn autorelease(&self) -> Selfwhere
Self: Clone,
fn autorelease(&self) -> Selfwhere
Self: Clone,
Autorelease the object. Read more
Source§fn retain_count(&self) -> usize
fn retain_count(&self) -> usize
Get the retain count of the object. Read more
impl Send for CommandBufferEncoderInfo
impl Sync for CommandBufferEncoderInfo
Auto Trait Implementations§
impl Freeze for CommandBufferEncoderInfo
impl RefUnwindSafe for CommandBufferEncoderInfo
impl Unpin for CommandBufferEncoderInfo
impl UnwindSafe for CommandBufferEncoderInfo
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