pub unsafe trait NSTouchBarDelegate: NSObjectProtocol + MainThreadOnly {
// Provided method
unsafe 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§
unsafe 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.