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§

source

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

source

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

source

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

Available on crate feature MTLLibrary only.
source

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

Trait Implementations§

source§

impl ProtocolType for dyn MTLFunctionLog

source§

const NAME: &'static str = "MTLFunctionLog"

The name of the Objective-C protocol that this type represents.
source§

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

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

impl<T> ImplementedBy<T> for dyn MTLFunctionLog

Implementations on Foreign Types§

source§

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

Implementors§