pub unsafe trait MTLDynamicLibrary: NSObjectProtocol {
// Provided methods
fn label(&self) -> Option<Id<NSString>>
where Self: Sized + Message { ... }
fn setLabel(&self, label: Option<&NSString>)
where Self: Sized + Message { ... }
fn device(&self) -> Id<ProtocolObject<dyn MTLDevice>>
where Self: Sized + Message { ... }
fn installName(&self) -> Id<NSString>
where Self: Sized + Message { ... }
fn serializeToURL_error(&self, url: &NSURL) -> Result<(), Id<NSError>>
where Self: Sized + Message { ... }
}👎Deprecated:
icrate::Metal has been moved to objc2-metalAvailable on crate feature
Metal only.Provided Methods§
fn label(&self) -> Option<Id<NSString>>
👎Deprecated:
icrate::Metal has been moved to objc2-metalAvailable on crate feature
Foundation_NSString only.fn setLabel(&self, label: Option<&NSString>)
👎Deprecated:
icrate::Metal has been moved to objc2-metalAvailable on crate feature
Foundation_NSString only.fn device(&self) -> Id<ProtocolObject<dyn MTLDevice>>
👎Deprecated:
icrate::Metal has been moved to objc2-metalfn installName(&self) -> Id<NSString>
👎Deprecated:
icrate::Metal has been moved to objc2-metalAvailable on crate feature
Foundation_NSString only.fn serializeToURL_error(&self, url: &NSURL) -> Result<(), Id<NSError>>
👎Deprecated:
icrate::Metal has been moved to objc2-metalAvailable on crate features
Foundation_NSError and Foundation_NSURL only.