pub unsafe trait UITableViewDropDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn tableView_performDropWithCoordinator(
&self,
table_view: &UITableView,
coordinator: &ProtocolObject<dyn UITableViewDropCoordinator>,
)
where Self: Sized + Message { ... }
fn tableView_canHandleDropSession(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>,
) -> bool
where Self: Sized + Message { ... }
fn tableView_dropSessionDidEnter(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
fn tableView_dropSessionDidUpdate_withDestinationIndexPath(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>,
destination_index_path: Option<&NSIndexPath>,
) -> Retained<UITableViewDropProposal>
where Self: Sized + Message { ... }
fn tableView_dropSessionDidExit(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
fn tableView_dropSessionDidEnd(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
fn tableView_dropPreviewParametersForRowAtIndexPath(
&self,
table_view: &UITableView,
index_path: &NSIndexPath,
) -> Option<Retained<UIDragPreviewParameters>>
where Self: Sized + Message { ... }
}Available on crate feature
UITableView only.Expand description
Provided Methods§
fn tableView_performDropWithCoordinator( &self, table_view: &UITableView, coordinator: &ProtocolObject<dyn UITableViewDropCoordinator>, )
Available on crate features
UIResponder and UIScrollView and UIView only.fn tableView_canHandleDropSession( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession>, ) -> bool
Available on crate features
UIDragSession and UIResponder and UIScrollView and UIView only.fn tableView_dropSessionDidEnter( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate features
UIDragSession and UIResponder and UIScrollView and UIView only.fn tableView_dropSessionDidUpdate_withDestinationIndexPath( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession>, destination_index_path: Option<&NSIndexPath>, ) -> Retained<UITableViewDropProposal>
Available on crate features
UIDragSession and UIDropInteraction and UIResponder and UIScrollView and UIView only.fn tableView_dropSessionDidExit( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate features
UIDragSession and UIResponder and UIScrollView and UIView only.fn tableView_dropSessionDidEnd( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate features
UIDragSession and UIResponder and UIScrollView and UIView only.fn tableView_dropPreviewParametersForRowAtIndexPath( &self, table_view: &UITableView, index_path: &NSIndexPath, ) -> Option<Retained<UIDragPreviewParameters>>
Available on crate features
UIDragPreviewParameters and UIPreviewParameters and UIResponder and UIScrollView and UIView only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UITableViewDropDelegate
Source§impl ProtocolType for dyn UITableViewDropDelegate
impl ProtocolType for dyn UITableViewDropDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".