pub unsafe trait NSUserInterfaceItemSearching: NSObjectProtocol {
    // Provided methods
    unsafe fn searchForItemsWithSearchString_resultLimit_matchedItemHandler(
        &self,
        search_string: &NSString,
        result_limit: NSInteger,
        handle_matched_items: &Block<dyn Fn(NonNull<NSArray>)>
    )
       where Self: Sized + Message { ... }
    unsafe fn localizedTitlesForItem(
        &self,
        item: &AnyObject
    ) -> Id<NSArray<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn performActionForItem(&self, item: &AnyObject)
       where Self: Sized + Message { ... }
    unsafe fn showAllHelpTopicsForSearchString(&self, search_string: &NSString)
       where Self: Sized + Message { ... }
}
Available on crate feature NSUserInterfaceItemSearching only.

Provided Methods§

source

unsafe fn searchForItemsWithSearchString_resultLimit_matchedItemHandler( &self, search_string: &NSString, result_limit: NSInteger, handle_matched_items: &Block<dyn Fn(NonNull<NSArray>)> )
where Self: Sized + Message,

Available on crate feature block2 only.
source

unsafe fn localizedTitlesForItem( &self, item: &AnyObject ) -> Id<NSArray<NSString>>
where Self: Sized + Message,

source

unsafe fn performActionForItem(&self, item: &AnyObject)
where Self: Sized + Message,

source

unsafe fn showAllHelpTopicsForSearchString(&self, search_string: &NSString)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSUserInterfaceItemSearching

source§

const NAME: &'static str = "NSUserInterfaceItemSearching"

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 NSUserInterfaceItemSearching

Implementations on Foreign Types§

source§

impl<T> NSUserInterfaceItemSearching for ProtocolObject<T>

Implementors§