pub unsafe trait MTLFunctionLog: NSObjectProtocol {
// Provided methods
fn type(&self) -> MTLFunctionLogType
where Self: Sized + Message { ... }
fn encoderLabel(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn function(&self) -> Option<Retained<ProtocolObject<dyn MTLFunction>>>
where Self: Sized + Message { ... }
fn debugLocation(
&self,
) -> Option<Retained<ProtocolObject<dyn MTLFunctionLogDebugLocation>>>
where Self: Sized + Message { ... }
}Available on crate feature
MTLFunctionLog only.Expand description
Provided Methods§
fn type(&self) -> MTLFunctionLogType
fn encoderLabel(&self) -> Option<Retained<NSString>>
fn function(&self) -> Option<Retained<ProtocolObject<dyn MTLFunction>>>
Available on crate feature
MTLLibrary only.fn debugLocation( &self, ) -> Option<Retained<ProtocolObject<dyn MTLFunctionLogDebugLocation>>>
Trait Implementations§
impl<T> ImplementedBy<T> for dyn MTLFunctionLog
Source§impl ProtocolType for dyn MTLFunctionLog
impl ProtocolType for dyn MTLFunctionLog
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".