Trait objc2_app_kit::NSTouchBarProvider

source ·
pub unsafe trait NSTouchBarProvider: NSObjectProtocol + IsMainThreadOnly {
    // Provided method
    unsafe fn touchBar(&self) -> Option<Id<NSTouchBar>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSTouchBar only.

Provided Methods§

source

unsafe fn touchBar(&self) -> Option<Id<NSTouchBar>>
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSTouchBarProvider

source§

const NAME: &'static str = "NSTouchBarProvider"

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 NSTouchBarProvider

Implementations on Foreign Types§

source§

impl<T> NSTouchBarProvider for ProtocolObject<T>

Implementors§

source§

impl NSTouchBarProvider for NSResponder

Available on crate feature NSResponder only.