Trait objc2_ui_kit::UITextSearchAggregator

source ·
pub unsafe trait UITextSearchAggregator: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn allFoundRanges(&self) -> Retained<NSOrderedSet<UITextRange>>
       where Self: Sized + Message { ... }
    unsafe fn foundRange_forSearchString_inDocument(
        &self,
        range: &UITextRange,
        string: &NSString,
        document: Option<&UITextSearchDocumentIdentifier>
    )
       where Self: Sized + Message { ... }
    unsafe fn invalidateFoundRange_inDocument(
        &self,
        range: &UITextRange,
        document: Option<&UITextSearchDocumentIdentifier>
    )
       where Self: Sized + Message { ... }
    unsafe fn invalidate(&self)
       where Self: Sized + Message { ... }
    unsafe fn finishedSearching(&self)
       where Self: Sized + Message { ... }
}
Available on crate feature UITextSearching only.

Provided Methods§

source

unsafe fn allFoundRanges(&self) -> Retained<NSOrderedSet<UITextRange>>
where Self: Sized + Message,

Available on crate feature UITextInput only.
source

unsafe fn foundRange_forSearchString_inDocument( &self, range: &UITextRange, string: &NSString, document: Option<&UITextSearchDocumentIdentifier> )
where Self: Sized + Message,

Available on crate feature UITextInput only.
source

unsafe fn invalidateFoundRange_inDocument( &self, range: &UITextRange, document: Option<&UITextSearchDocumentIdentifier> )
where Self: Sized + Message,

Available on crate feature UITextInput only.
source

unsafe fn invalidate(&self)
where Self: Sized + Message,

source

unsafe fn finishedSearching(&self)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UITextSearchAggregator

source§

const NAME: &'static str = "UITextSearchAggregator"

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 UITextSearchAggregator

Implementations on Foreign Types§

source§

impl<T> UITextSearchAggregator for ProtocolObject<T>

Implementors§