pub unsafe trait UIDragDropSession: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn items(&self) -> Retained<NSArray<UIDragItem>>
where Self: Sized + Message { ... }
fn locationInView(&self, view: &UIView) -> CGPoint
where Self: Sized + Message { ... }
fn allowsMoveOperation(&self) -> bool
where Self: Sized + Message { ... }
fn isRestrictedToDraggingApplication(&self) -> bool
where Self: Sized + Message { ... }
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§
fn items(&self) -> Retained<NSArray<UIDragItem>>
Available on crate feature
UIDragItem only.fn locationInView(&self, view: &UIView) -> CGPoint
Available on crate features
UIResponder and UIView and objc2-core-foundation only.