Skip to main content

MTLFunctionLog

Trait MTLFunctionLog 

Source
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§

Source

fn type(&self) -> MTLFunctionLogType
where Self: Sized + Message,

Source

fn encoderLabel(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

Source

fn function(&self) -> Option<Retained<ProtocolObject<dyn MTLFunction>>>
where Self: Sized + Message,

Available on crate feature MTLLibrary only.
Source

fn debugLocation( &self, ) -> Option<Retained<ProtocolObject<dyn MTLFunctionLogDebugLocation>>>
where Self: Sized + Message,

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn MTLFunctionLog

Source§

impl ProtocolType for dyn MTLFunctionLog

Source§

const NAME: &'static str = "MTLFunctionLog"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> MTLFunctionLog for ProtocolObject<T>
where T: ?Sized + MTLFunctionLog,

Implementors§