Trait objc2_metal::MTLFunctionHandle
source · pub unsafe trait MTLFunctionHandle: NSObjectProtocol + IsRetainable {
// Provided methods
fn functionType(&self) -> MTLFunctionType
where Self: Sized + Message { ... }
fn name(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>
where Self: Sized + Message { ... }
}Available on crate feature
MTLFunctionHandle only.Provided Methods§
fn functionType(&self) -> MTLFunctionType
Available on crate feature
MTLLibrary only.fn name(&self) -> Retained<NSString>
fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>
Available on crate feature
MTLDevice only.