pub unsafe trait UIDropInteractionDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn dropInteraction_canHandleSession(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
) -> bool
where Self: Sized + Message { ... }
fn dropInteraction_sessionDidEnter(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
fn dropInteraction_sessionDidUpdate(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
) -> Retained<UIDropProposal>
where Self: Sized + Message { ... }
fn dropInteraction_sessionDidExit(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
fn dropInteraction_performDrop(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
fn dropInteraction_concludeDrop(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
fn dropInteraction_sessionDidEnd(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
fn dropInteraction_previewForDroppingItem_withDefault(
&self,
interaction: &UIDropInteraction,
item: &UIDragItem,
default_preview: &UITargetedDragPreview,
) -> Option<Retained<UITargetedDragPreview>>
where Self: Sized + Message { ... }
fn dropInteraction_item_willAnimateDropWithAnimator(
&self,
interaction: &UIDropInteraction,
item: &UIDragItem,
animator: &ProtocolObject<dyn UIDragAnimating>,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIDropInteraction only.Expand description
Provided Methods§
fn dropInteraction_canHandleSession( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, ) -> bool
Available on crate feature
UIDragSession only.fn dropInteraction_sessionDidEnter( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession only.fn dropInteraction_sessionDidUpdate( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, ) -> Retained<UIDropProposal>
Available on crate feature
UIDragSession only.fn dropInteraction_sessionDidExit( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession only.fn dropInteraction_performDrop( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession only.fn dropInteraction_concludeDrop( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession only.fn dropInteraction_sessionDidEnd( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession only.fn dropInteraction_previewForDroppingItem_withDefault( &self, interaction: &UIDropInteraction, item: &UIDragItem, default_preview: &UITargetedDragPreview, ) -> Option<Retained<UITargetedDragPreview>>
Available on crate features
UIDragItem and UITargetedDragPreview and UITargetedPreview only.fn dropInteraction_item_willAnimateDropWithAnimator( &self, interaction: &UIDropInteraction, item: &UIDragItem, animator: &ProtocolObject<dyn UIDragAnimating>, )
Available on crate features
UIDragInteraction and UIDragItem only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIDropInteractionDelegate
Source§impl ProtocolType for dyn UIDropInteractionDelegate
impl ProtocolType for dyn UIDropInteractionDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".