pub struct FunctionLog(/* private fields */);Expand description
A log entry from shader function execution.
C++ equivalent: MTL::FunctionLog
Contains information about validation errors or other log messages generated during shader execution.
Implementations§
Source§impl FunctionLog
impl FunctionLog
Sourcepub fn log_type(&self) -> FunctionLogType
pub fn log_type(&self) -> FunctionLogType
Get the log type.
C++ equivalent: FunctionLogType type() const
Sourcepub fn debug_location(&self) -> Option<FunctionLogDebugLocation>
pub fn debug_location(&self) -> Option<FunctionLogDebugLocation>
Get the debug location.
C++ equivalent: FunctionLogDebugLocation* debugLocation() const
Sourcepub fn encoder_label(&self) -> Option<String>
pub fn encoder_label(&self) -> Option<String>
Get the encoder label.
C++ equivalent: NS::String* encoderLabel() const
Trait Implementations§
Source§impl Clone for FunctionLog
impl Clone for FunctionLog
Source§impl Drop for FunctionLog
impl Drop for FunctionLog
Source§impl Referencing for FunctionLog
impl Referencing for FunctionLog
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 FunctionLog
impl Sync for FunctionLog
Auto Trait Implementations§
impl Freeze for FunctionLog
impl RefUnwindSafe for FunctionLog
impl Unpin for FunctionLog
impl UnwindSafe for FunctionLog
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