Trait objc2_ui_kit::UIFindInteractionDelegate

source ·
pub unsafe trait UIFindInteractionDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn findInteraction_sessionForView(
        &self,
        interaction: &UIFindInteraction,
        view: &UIView
    ) -> Option<Retained<UIFindSession>>
       where Self: Sized + Message { ... }
    unsafe fn findInteraction_didBeginFindSession(
        &self,
        interaction: &UIFindInteraction,
        session: &UIFindSession
    )
       where Self: Sized + Message { ... }
    unsafe fn findInteraction_didEndFindSession(
        &self,
        interaction: &UIFindInteraction,
        session: &UIFindSession
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIFindInteraction only.

Provided Methods§

source

unsafe fn findInteraction_sessionForView( &self, interaction: &UIFindInteraction, view: &UIView ) -> Option<Retained<UIFindSession>>
where Self: Sized + Message,

Available on crate features UIFindSession and UIResponder and UIView only.
source

unsafe fn findInteraction_didBeginFindSession( &self, interaction: &UIFindInteraction, session: &UIFindSession )
where Self: Sized + Message,

Available on crate feature UIFindSession only.
source

unsafe fn findInteraction_didEndFindSession( &self, interaction: &UIFindInteraction, session: &UIFindSession )
where Self: Sized + Message,

Available on crate feature UIFindSession only.

Trait Implementations§

source§

impl ProtocolType for dyn UIFindInteractionDelegate

source§

const NAME: &'static str = "UIFindInteractionDelegate"

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 UIFindInteractionDelegate

Implementations on Foreign Types§

source§

impl<T> UIFindInteractionDelegate for ProtocolObject<T>

Implementors§

source§

impl UIFindInteractionDelegate for UITextView

Available on crate features UIResponder and UIScrollView and UIView and UITextView only.