Trait objc2_metal::MTLFunctionLog
source · pub unsafe trait MTLFunctionLog: NSObjectProtocol + IsRetainable {
// Provided methods
unsafe fn type(&self) -> MTLFunctionLogType
where Self: Sized + Message { ... }
unsafe fn encoderLabel(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
unsafe fn function(
&self
) -> Option<Retained<ProtocolObject<dyn MTLFunction>>>
where Self: Sized + Message { ... }
unsafe fn debugLocation(
&self
) -> Option<Retained<ProtocolObject<dyn MTLFunctionLogDebugLocation>>>
where Self: Sized + Message { ... }
}Available on crate feature
MTLFunctionLog only.Provided Methods§
unsafe fn type(&self) -> MTLFunctionLogType
unsafe fn encoderLabel(&self) -> Option<Retained<NSString>>
unsafe fn function(&self) -> Option<Retained<ProtocolObject<dyn MTLFunction>>>
Available on crate feature
MTLLibrary only.