Trait objc2_metal::MTLIOFileHandle

source ·
pub unsafe trait MTLIOFileHandle: NSObjectProtocol + IsRetainable {
    // Provided methods
    unsafe fn label(&self) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn setLabel(&self, label: Option<&NSString>)
       where Self: Sized + Message { ... }
}
Available on crate feature MTLIOCommandQueue only.

Provided Methods§

source

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

source

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

Trait Implementations§

source§

impl ProtocolType for dyn MTLIOFileHandle

source§

const NAME: &'static str = "MTLIOFileHandle"

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 MTLIOFileHandle

Implementations on Foreign Types§

source§

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

Implementors§