Trait objc2_ui_kit::UIInteraction

source ·
pub unsafe trait UIInteraction: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn view(&self) -> Option<Retained<UIView>>
       where Self: Sized + Message { ... }
    unsafe fn willMoveToView(&self, view: Option<&UIView>)
       where Self: Sized + Message { ... }
    unsafe fn didMoveToView(&self, view: Option<&UIView>)
       where Self: Sized + Message { ... }
}
Available on crate feature UIInteraction only.

Provided Methods§

source

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

Available on crate features UIResponder and UIView only.
source

unsafe fn willMoveToView(&self, view: Option<&UIView>)
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
source

unsafe fn didMoveToView(&self, view: Option<&UIView>)
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.

Trait Implementations§

source§

impl ProtocolType for dyn UIInteraction

source§

const NAME: &'static str = "UIInteraction"

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 UIInteraction
where T: ?Sized + Message + UIInteraction,

Implementations on Foreign Types§

source§

impl<T> UIInteraction for ProtocolObject<T>
where T: ?Sized + UIInteraction,

Implementors§

source§

impl UIInteraction for UIBandSelectionInteraction

Available on crate feature UIBandSelectionInteraction only.
source§

impl UIInteraction for UIContextMenuInteraction

Available on crate feature UIContextMenuInteraction only.
source§

impl UIInteraction for UIDragInteraction

Available on crate feature UIDragInteraction only.
source§

impl UIInteraction for UIDropInteraction

Available on crate feature UIDropInteraction only.
source§

impl UIInteraction for UIEditMenuInteraction

Available on crate feature UIEditMenuInteraction only.
source§

impl UIInteraction for UIFeedbackGenerator

Available on crate feature UIFeedbackGenerator only.
source§

impl UIInteraction for UIFindInteraction

Available on crate feature UIFindInteraction only.
source§

impl UIInteraction for UIIndirectScribbleInteraction

Available on crate feature UIIndirectScribbleInteraction only.
source§

impl UIInteraction for UILargeContentViewerInteraction

Available on crate feature UILargeContentViewer only.
source§

impl UIInteraction for UIPencilInteraction

Available on crate feature UIPencilInteraction only.
source§

impl UIInteraction for UIPointerInteraction

Available on crate feature UIPointerInteraction only.
source§

impl UIInteraction for UIScribbleInteraction

Available on crate feature UIScribbleInteraction only.
source§

impl UIInteraction for UISpringLoadedInteraction

Available on crate feature UISpringLoadedInteraction only.
source§

impl UIInteraction for UITextInteraction

Available on crate feature UITextInteraction only.
source§

impl UIInteraction for UITextSelectionDisplayInteraction

Available on crate feature UITextSelectionDisplayInteraction only.
source§

impl UIInteraction for UIToolTipInteraction

Available on crate feature UIToolTipInteraction only.
source§

impl UIInteraction for UIWindowSceneActivationInteraction

Available on crate feature UIWindowSceneActivationInteraction only.
source§

impl UIInteraction for UIWindowSceneDragInteraction

Available on crate feature UIWindowSceneDragInteraction only.