pub unsafe trait UIDragDropSession: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn items(&self) -> Retained<NSArray<UIDragItem>>
where Self: Sized + Message { ... }
unsafe fn locationInView(&self, view: &UIView) -> CGPoint
where Self: Sized + Message { ... }
unsafe fn allowsMoveOperation(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn isRestrictedToDraggingApplication(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn hasItemsConformingToTypeIdentifiers(
&self,
type_identifiers: &NSArray<NSString>,
) -> bool
where Self: Sized + Message { ... }
unsafe fn canLoadObjectsOfClass(&self, a_class: &AnyClass) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
UIDragSession
only.Expand description
Provided Methods§
unsafe fn items(&self) -> Retained<NSArray<UIDragItem>>
Available on crate feature
UIDragItem
only.unsafe fn locationInView(&self, view: &UIView) -> CGPoint
Available on crate features
UIResponder
and UIView
and objc2-core-foundation
only.