pub unsafe trait NSTouchBarDelegate: NSObjectProtocol + MainThreadOnly {
// Provided method
fn touchBar_makeItemForIdentifier(
&self,
touch_bar: &NSTouchBar,
identifier: &NSTouchBarItemIdentifier,
) -> Option<Retained<NSTouchBarItem>>
where Self: Sized + Message { ... }
}Available on crate feature
NSTouchBar only.Expand description
Provided Methods§
fn touchBar_makeItemForIdentifier( &self, touch_bar: &NSTouchBar, identifier: &NSTouchBarItemIdentifier, ) -> Option<Retained<NSTouchBarItem>>
Available on crate feature
NSTouchBarItem only.Trait Implementations§
Source§impl ProtocolType for dyn NSTouchBarDelegate
impl ProtocolType for dyn NSTouchBarDelegate
impl<T> ImplementedBy<T> for dyn NSTouchBarDelegate
Implementations on Foreign Types§
impl<T> NSTouchBarDelegate for ProtocolObject<T>where
T: ?Sized + NSTouchBarDelegate,
Implementors§
impl NSTouchBarDelegate for NSTextView
Available on crate feature
NSTextView only.