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§

source

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

source

fn setLabel(&self, label: Option<&NSString>)
where Self: Sized + Message,

source

fn device(&self) -> Retained<ProtocolObject<dyn MTLDevice>>
where Self: Sized + Message,

Available on crate feature MTLDevice only.
source

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

source

fn serializeToURL_error(&self, url: &NSURL) -> Result<(), Retained<NSError>>
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn MTLDynamicLibrary

source§

const NAME: &'static str = "MTLDynamicLibrary"

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 MTLDynamicLibrary

Implementations on Foreign Types§

source§

impl<T> MTLDynamicLibrary for ProtocolObject<T>

Implementors§