NSCandidateListTouchBarItemDelegate

Trait NSCandidateListTouchBarItemDelegate 

Source
pub unsafe trait NSCandidateListTouchBarItemDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn candidateListTouchBarItem_beginSelectingCandidateAtIndex(
        &self,
        an_item: &NSCandidateListTouchBarItem,
        index: NSInteger,
    )
       where Self: Sized + Message { ... }
    unsafe fn candidateListTouchBarItem_changeSelectionFromCandidateAtIndex_toIndex(
        &self,
        an_item: &NSCandidateListTouchBarItem,
        previous_index: NSInteger,
        index: NSInteger,
    )
       where Self: Sized + Message { ... }
    unsafe fn candidateListTouchBarItem_endSelectingCandidateAtIndex(
        &self,
        an_item: &NSCandidateListTouchBarItem,
        index: NSInteger,
    )
       where Self: Sized + Message { ... }
    unsafe fn candidateListTouchBarItem_changedCandidateListVisibility(
        &self,
        an_item: &NSCandidateListTouchBarItem,
        is_visible: bool,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSCandidateListTouchBarItem only.
Expand description

Provided Methods§

Source

unsafe fn candidateListTouchBarItem_beginSelectingCandidateAtIndex( &self, an_item: &NSCandidateListTouchBarItem, index: NSInteger, )
where Self: Sized + Message,

Available on crate feature NSTouchBarItem only.
§Safety

an_item generic should be of the correct type.

Source

unsafe fn candidateListTouchBarItem_changeSelectionFromCandidateAtIndex_toIndex( &self, an_item: &NSCandidateListTouchBarItem, previous_index: NSInteger, index: NSInteger, )
where Self: Sized + Message,

Available on crate feature NSTouchBarItem only.
§Safety

an_item generic should be of the correct type.

Source

unsafe fn candidateListTouchBarItem_endSelectingCandidateAtIndex( &self, an_item: &NSCandidateListTouchBarItem, index: NSInteger, )
where Self: Sized + Message,

Available on crate feature NSTouchBarItem only.
§Safety

an_item generic should be of the correct type.

Source

unsafe fn candidateListTouchBarItem_changedCandidateListVisibility( &self, an_item: &NSCandidateListTouchBarItem, is_visible: bool, )
where Self: Sized + Message,

Available on crate feature NSTouchBarItem only.
§Safety

an_item generic should be of the correct type.

Trait Implementations§

Source§

impl ProtocolType for dyn NSCandidateListTouchBarItemDelegate

Source§

const NAME: &'static str = "NSCandidateListTouchBarItemDelegate"

The name of the Objective-C protocol that this type represents. Read more
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 NSCandidateListTouchBarItemDelegate

Implementations on Foreign Types§

Source§

impl<T> NSCandidateListTouchBarItemDelegate for ProtocolObject<T>

Implementors§

Source§

impl NSCandidateListTouchBarItemDelegate for NSTextView

Available on crate feature NSTextView only.