pub unsafe trait NSDraggingDestination: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn draggingEntered(
&self,
sender: &ProtocolObject<dyn NSDraggingInfo>,
) -> NSDragOperation
where Self: Sized + Message { ... }
unsafe fn draggingUpdated(
&self,
sender: &ProtocolObject<dyn NSDraggingInfo>,
) -> NSDragOperation
where Self: Sized + Message { ... }
unsafe fn draggingExited(
&self,
sender: Option<&ProtocolObject<dyn NSDraggingInfo>>,
)
where Self: Sized + Message { ... }
unsafe fn prepareForDragOperation(
&self,
sender: &ProtocolObject<dyn NSDraggingInfo>,
) -> bool
where Self: Sized + Message { ... }
unsafe fn performDragOperation(
&self,
sender: &ProtocolObject<dyn NSDraggingInfo>,
) -> bool
where Self: Sized + Message { ... }
unsafe fn concludeDragOperation(
&self,
sender: Option<&ProtocolObject<dyn NSDraggingInfo>>,
)
where Self: Sized + Message { ... }
unsafe fn draggingEnded(&self, sender: &ProtocolObject<dyn NSDraggingInfo>)
where Self: Sized + Message { ... }
unsafe fn wantsPeriodicDraggingUpdates(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn updateDraggingItemsForDrag(
&self,
sender: Option<&ProtocolObject<dyn NSDraggingInfo>>,
)
where Self: Sized + Message { ... }
}Available on crate feature
NSDragging only.Expand description
Provided Methods§
unsafe fn draggingEntered( &self, sender: &ProtocolObject<dyn NSDraggingInfo>, ) -> NSDragOperation
unsafe fn draggingUpdated( &self, sender: &ProtocolObject<dyn NSDraggingInfo>, ) -> NSDragOperation
unsafe fn draggingExited( &self, sender: Option<&ProtocolObject<dyn NSDraggingInfo>>, )
unsafe fn prepareForDragOperation( &self, sender: &ProtocolObject<dyn NSDraggingInfo>, ) -> bool
unsafe fn performDragOperation( &self, sender: &ProtocolObject<dyn NSDraggingInfo>, ) -> bool
unsafe fn concludeDragOperation( &self, sender: Option<&ProtocolObject<dyn NSDraggingInfo>>, )
unsafe fn draggingEnded(&self, sender: &ProtocolObject<dyn NSDraggingInfo>)
unsafe fn wantsPeriodicDraggingUpdates(&self) -> bool
unsafe fn updateDraggingItemsForDrag( &self, sender: Option<&ProtocolObject<dyn NSDraggingInfo>>, )
Trait Implementations§
Source§impl ProtocolType for dyn NSDraggingDestination
impl ProtocolType for dyn NSDraggingDestination
impl<T> ImplementedBy<T> for dyn NSDraggingDestination
Implementations on Foreign Types§
impl<T> NSDraggingDestination for ProtocolObject<T>where
T: ?Sized + NSDraggingDestination,
Implementors§
impl NSDraggingDestination for NSBox
Available on crate features
NSResponder and NSView and NSBox only.impl NSDraggingDestination for NSBrowser
Available on crate features
NSControl and NSResponder and NSView and NSBrowser only.impl NSDraggingDestination for NSButton
Available on crate features
NSControl and NSResponder and NSView and NSButton only.impl NSDraggingDestination for NSClipView
Available on crate features
NSResponder and NSView and NSClipView only.impl NSDraggingDestination for NSCollectionView
Available on crate features
NSResponder and NSView and NSCollectionView only.impl NSDraggingDestination for NSColorWell
Available on crate features
NSControl and NSResponder and NSView and NSColorWell only.impl NSDraggingDestination for NSComboBox
Available on crate features
NSControl and NSResponder and NSTextField and NSView and NSComboBox only.impl NSDraggingDestination for NSComboButton
Available on crate features
NSControl and NSResponder and NSView and NSComboButton only.impl NSDraggingDestination for NSControl
Available on crate features
NSResponder and NSView and NSControl only.impl NSDraggingDestination for NSDatePicker
Available on crate features
NSControl and NSResponder and NSView and NSDatePicker only.impl NSDraggingDestination for NSForm
Available on crate features
NSControl and NSMatrix and NSResponder and NSView and NSForm only.impl NSDraggingDestination for NSGridView
Available on crate features
NSResponder and NSView and NSGridView only.impl NSDraggingDestination for NSImageView
Available on crate features
NSControl and NSResponder and NSView and NSImageView only.impl NSDraggingDestination for NSLevelIndicator
Available on crate features
NSControl and NSResponder and NSView and NSLevelIndicator only.impl NSDraggingDestination for NSMatrix
Available on crate features
NSControl and NSResponder and NSView and NSMatrix only.impl NSDraggingDestination for NSOutlineView
Available on crate features
NSControl and NSResponder and NSTableView and NSView and NSOutlineView only.impl NSDraggingDestination for NSPathControl
Available on crate features
NSControl and NSResponder and NSView and NSPathControl only.impl NSDraggingDestination for NSPopUpButton
Available on crate features
NSButton and NSControl and NSResponder and NSView and NSPopUpButton only.impl NSDraggingDestination for NSPredicateEditor
Available on crate features
NSControl and NSResponder and NSRuleEditor and NSView and NSPredicateEditor only.impl NSDraggingDestination for NSProgressIndicator
Available on crate features
NSResponder and NSView and NSProgressIndicator only.impl NSDraggingDestination for NSRuleEditor
Available on crate features
NSControl and NSResponder and NSView and NSRuleEditor only.impl NSDraggingDestination for NSRulerView
Available on crate features
NSResponder and NSView and NSRulerView only.impl NSDraggingDestination for NSScrollView
Available on crate features
NSResponder and NSView and NSScrollView only.impl NSDraggingDestination for NSScroller
Available on crate features
NSControl and NSResponder and NSView and NSScroller only.impl NSDraggingDestination for NSScrubber
Available on crate features
NSResponder and NSView and NSScrubber only.impl NSDraggingDestination for NSScrubberArrangedView
Available on crate features
NSResponder and NSView and NSScrubberItemView only.impl NSDraggingDestination for NSScrubberImageItemView
Available on crate features
NSResponder and NSView and NSScrubberItemView only.impl NSDraggingDestination for NSScrubberItemView
Available on crate features
NSResponder and NSView and NSScrubberItemView only.impl NSDraggingDestination for NSScrubberSelectionView
Available on crate features
NSResponder and NSView and NSScrubberItemView only.impl NSDraggingDestination for NSScrubberTextItemView
Available on crate features
NSResponder and NSView and NSScrubberItemView only.impl NSDraggingDestination for NSSearchField
Available on crate features
NSControl and NSResponder and NSTextField and NSView and NSSearchField only.impl NSDraggingDestination for NSSecureTextField
Available on crate features
NSControl and NSResponder and NSTextField and NSView and NSSecureTextField only.impl NSDraggingDestination for NSSegmentedControl
Available on crate features
NSControl and NSResponder and NSView and NSSegmentedControl only.impl NSDraggingDestination for NSSlider
Available on crate features
NSControl and NSResponder and NSView and NSSlider only.impl NSDraggingDestination for NSSplitView
Available on crate features
NSResponder and NSView and NSSplitView only.impl NSDraggingDestination for NSStackView
Available on crate features
NSResponder and NSView and NSStackView only.impl NSDraggingDestination for NSStatusBarButton
Available on crate features
NSButton and NSControl and NSResponder and NSView and NSStatusBarButton only.impl NSDraggingDestination for NSStepper
Available on crate features
NSControl and NSResponder and NSView and NSStepper only.impl NSDraggingDestination for NSSwitch
Available on crate features
NSControl and NSResponder and NSView and NSSwitch only.impl NSDraggingDestination for NSTabView
Available on crate features
NSResponder and NSView and NSTabView only.impl NSDraggingDestination for NSTableCellView
Available on crate features
NSResponder and NSView and NSTableCellView only.impl NSDraggingDestination for NSTableHeaderView
Available on crate features
NSResponder and NSView and NSTableHeaderView only.impl NSDraggingDestination for NSTableRowView
Available on crate features
NSResponder and NSView and NSTableRowView only.impl NSDraggingDestination for NSTableView
Available on crate features
NSControl and NSResponder and NSView and NSTableView only.impl NSDraggingDestination for NSText
Available on crate features
NSResponder and NSView and NSText only.impl NSDraggingDestination for NSTextField
Available on crate features
NSControl and NSResponder and NSView and NSTextField only.impl NSDraggingDestination for NSTextInsertionIndicator
Available on crate features
NSResponder and NSView and NSTextInsertionIndicator only.impl NSDraggingDestination for NSTextView
Available on crate features
NSResponder and NSText and NSView and NSTextView only.impl NSDraggingDestination for NSTokenField
Available on crate features
NSControl and NSResponder and NSTextField and NSView and NSTokenField only.impl NSDraggingDestination for NSView
Available on crate features
NSResponder and NSView only.impl NSDraggingDestination for NSVisualEffectView
Available on crate features
NSResponder and NSView and NSVisualEffectView only.