pub unsafe trait NSTouchBarProvider: NSObjectProtocol + MainThreadOnly {
// Provided method
fn touchBar(&self) -> Option<Retained<NSTouchBar>>
where Self: Sized + Message { ... }
}Available on crate feature
NSTouchBar only.Expand description
Provided Methods§
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSTouchBarProvider
Source§impl ProtocolType for dyn NSTouchBarProvider
impl ProtocolType for dyn NSTouchBarProvider
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".