Trait objc2_ui_kit::UIPencilInteractionDelegate

source ·
pub unsafe trait UIPencilInteractionDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn pencilInteractionDidTap(&self, interaction: &UIPencilInteraction)
       where Self: Sized + Message { ... }
    unsafe fn pencilInteraction_didReceiveTap(
        &self,
        interaction: &UIPencilInteraction,
        tap: &UIPencilInteractionTap
    )
       where Self: Sized + Message { ... }
    unsafe fn pencilInteraction_didReceiveSqueeze(
        &self,
        interaction: &UIPencilInteraction,
        squeeze: &UIPencilInteractionSqueeze
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIPencilInteraction only.

Provided Methods§

source

unsafe fn pencilInteractionDidTap(&self, interaction: &UIPencilInteraction)
where Self: Sized + Message,

👎Deprecated: Use pencilInteraction(_:didReceiveTap:) instead
source

unsafe fn pencilInteraction_didReceiveTap( &self, interaction: &UIPencilInteraction, tap: &UIPencilInteractionTap )
where Self: Sized + Message,

source

unsafe fn pencilInteraction_didReceiveSqueeze( &self, interaction: &UIPencilInteraction, squeeze: &UIPencilInteractionSqueeze )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UIPencilInteractionDelegate

source§

const NAME: &'static str = "UIPencilInteractionDelegate"

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 UIPencilInteractionDelegate

Implementations on Foreign Types§

source§

impl<T> UIPencilInteractionDelegate for ProtocolObject<T>

Implementors§