Trait objc2_ui_kit::UITextInteractionDelegate

source ·
pub unsafe trait UITextInteractionDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn interactionShouldBegin_atPoint(
        &self,
        interaction: &UITextInteraction,
        point: CGPoint
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn interactionWillBegin(&self, interaction: &UITextInteraction)
       where Self: Sized + Message { ... }
    unsafe fn interactionDidEnd(&self, interaction: &UITextInteraction)
       where Self: Sized + Message { ... }
}
Available on crate feature UITextInteraction only.

Provided Methods§

source

unsafe fn interactionShouldBegin_atPoint( &self, interaction: &UITextInteraction, point: CGPoint ) -> bool
where Self: Sized + Message,

source

unsafe fn interactionWillBegin(&self, interaction: &UITextInteraction)
where Self: Sized + Message,

source

unsafe fn interactionDidEnd(&self, interaction: &UITextInteraction)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UITextInteractionDelegate

source§

const NAME: &'static str = "UITextInteractionDelegate"

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 UITextInteractionDelegate

Implementations on Foreign Types§

source§

impl<T> UITextInteractionDelegate for ProtocolObject<T>

Implementors§