Trait objc2_ui_kit::UIPointerInteractionDelegate

source ·
pub unsafe trait UIPointerInteractionDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn pointerInteraction_regionForRequest_defaultRegion(
        &self,
        interaction: &UIPointerInteraction,
        request: &UIPointerRegionRequest,
        default_region: &UIPointerRegion
    ) -> Option<Retained<UIPointerRegion>>
       where Self: Sized + Message { ... }
    unsafe fn pointerInteraction_styleForRegion(
        &self,
        interaction: &UIPointerInteraction,
        region: &UIPointerRegion
    ) -> Option<Retained<UIPointerStyle>>
       where Self: Sized + Message { ... }
    unsafe fn pointerInteraction_willEnterRegion_animator(
        &self,
        interaction: &UIPointerInteraction,
        region: &UIPointerRegion,
        animator: &ProtocolObject<dyn UIPointerInteractionAnimating>
    )
       where Self: Sized + Message { ... }
    unsafe fn pointerInteraction_willExitRegion_animator(
        &self,
        interaction: &UIPointerInteraction,
        region: &UIPointerRegion,
        animator: &ProtocolObject<dyn UIPointerInteractionAnimating>
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIPointerInteraction only.

Provided Methods§

source

unsafe fn pointerInteraction_regionForRequest_defaultRegion( &self, interaction: &UIPointerInteraction, request: &UIPointerRegionRequest, default_region: &UIPointerRegion ) -> Option<Retained<UIPointerRegion>>
where Self: Sized + Message,

Available on crate feature UIPointerRegion only.
source

unsafe fn pointerInteraction_styleForRegion( &self, interaction: &UIPointerInteraction, region: &UIPointerRegion ) -> Option<Retained<UIPointerStyle>>
where Self: Sized + Message,

Available on crate features UIHoverStyle and UIPointerRegion and UIPointerStyle only.
source

unsafe fn pointerInteraction_willEnterRegion_animator( &self, interaction: &UIPointerInteraction, region: &UIPointerRegion, animator: &ProtocolObject<dyn UIPointerInteractionAnimating> )
where Self: Sized + Message,

Available on crate feature UIPointerRegion only.
source

unsafe fn pointerInteraction_willExitRegion_animator( &self, interaction: &UIPointerInteraction, region: &UIPointerRegion, animator: &ProtocolObject<dyn UIPointerInteractionAnimating> )
where Self: Sized + Message,

Available on crate feature UIPointerRegion only.

Trait Implementations§

source§

impl ProtocolType for dyn UIPointerInteractionDelegate

source§

const NAME: &'static str = "UIPointerInteractionDelegate"

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 UIPointerInteractionDelegate

Implementations on Foreign Types§

source§

impl<T> UIPointerInteractionDelegate for ProtocolObject<T>

Implementors§