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