Trait objc2_app_kit::NSTouchBarDelegate
source · pub unsafe trait NSTouchBarDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided method
unsafe fn touchBar_makeItemForIdentifier(
&self,
touch_bar: &NSTouchBar,
identifier: &NSTouchBarItemIdentifier
) -> Option<Id<NSTouchBarItem>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSTouchBar
only.Provided Methods§
unsafe fn touchBar_makeItemForIdentifier( &self, touch_bar: &NSTouchBar, identifier: &NSTouchBarItemIdentifier ) -> Option<Id<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 features
NSResponder
and NSText
and NSView
and NSTextView
only.