Trait objc2_metal::MTLDynamicLibrary
source · pub unsafe trait MTLDynamicLibrary: NSObjectProtocol + IsRetainable {
// Provided methods
fn label(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn setLabel(&self, label: Option<&NSString>)
where Self: Sized + Message { ... }
fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>
where Self: Sized + Message { ... }
fn installName(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
fn serializeToURL_error(&self, url: &NSURL) -> Result<(), Retained<NSError>>
where Self: Sized + Message { ... }
}Available on crate feature
MTLDynamicLibrary only.Provided Methods§
fn label(&self) -> Option<Retained<NSString>>
fn setLabel(&self, label: Option<&NSString>)
fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>
Available on crate feature
MTLDevice only.