Trait objc2_app_kit::NSDraggingDestination

source ·
pub unsafe trait NSDraggingDestination: NSObjectProtocol + IsMainThreadOnly {
    // 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.

Provided Methods§

source

unsafe fn draggingEntered( &self, sender: &ProtocolObject<dyn NSDraggingInfo> ) -> NSDragOperation
where Self: Sized + Message,

source

unsafe fn draggingUpdated( &self, sender: &ProtocolObject<dyn NSDraggingInfo> ) -> NSDragOperation
where Self: Sized + Message,

source

unsafe fn draggingExited( &self, sender: Option<&ProtocolObject<dyn NSDraggingInfo>> )
where Self: Sized + Message,

source

unsafe fn prepareForDragOperation( &self, sender: &ProtocolObject<dyn NSDraggingInfo> ) -> bool
where Self: Sized + Message,

source

unsafe fn performDragOperation( &self, sender: &ProtocolObject<dyn NSDraggingInfo> ) -> bool
where Self: Sized + Message,

source

unsafe fn concludeDragOperation( &self, sender: Option<&ProtocolObject<dyn NSDraggingInfo>> )
where Self: Sized + Message,

source

unsafe fn draggingEnded(&self, sender: &ProtocolObject<dyn NSDraggingInfo>)
where Self: Sized + Message,

source

unsafe fn wantsPeriodicDraggingUpdates(&self) -> bool
where Self: Sized + Message,

source

unsafe fn updateDraggingItemsForDrag( &self, sender: Option<&ProtocolObject<dyn NSDraggingInfo>> )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSDraggingDestination

source§

const NAME: &'static str = "NSDraggingDestination"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSDraggingDestination

Implementations on Foreign Types§

source§

impl<T> NSDraggingDestination for ProtocolObject<T>

Implementors§

source§

impl NSDraggingDestination for NSBox

Available on crate features NSResponder and NSView and NSBox only.
source§

impl NSDraggingDestination for NSBrowser

Available on crate features NSControl and NSResponder and NSView and NSBrowser only.
source§

impl NSDraggingDestination for NSButton

Available on crate features NSControl and NSResponder and NSView and NSButton only.
source§

impl NSDraggingDestination for NSClipView

Available on crate features NSResponder and NSView and NSClipView only.
source§

impl NSDraggingDestination for NSCollectionView

Available on crate features NSResponder and NSView and NSCollectionView only.
source§

impl NSDraggingDestination for NSColorWell

Available on crate features NSControl and NSResponder and NSView and NSColorWell only.
source§

impl NSDraggingDestination for NSComboBox

Available on crate features NSControl and NSResponder and NSTextField and NSView and NSComboBox only.
source§

impl NSDraggingDestination for NSComboButton

Available on crate features NSControl and NSResponder and NSView and NSComboButton only.
source§

impl NSDraggingDestination for NSControl

Available on crate features NSResponder and NSView and NSControl only.
source§

impl NSDraggingDestination for NSDatePicker

Available on crate features NSControl and NSResponder and NSView and NSDatePicker only.
source§

impl NSDraggingDestination for NSForm

Available on crate features NSControl and NSMatrix and NSResponder and NSView and NSForm only.
source§

impl NSDraggingDestination for NSGridView

Available on crate features NSResponder and NSView and NSGridView only.
source§

impl NSDraggingDestination for NSImageView

Available on crate features NSControl and NSResponder and NSView and NSImageView only.
source§

impl NSDraggingDestination for NSLevelIndicator

Available on crate features NSControl and NSResponder and NSView and NSLevelIndicator only.
source§

impl NSDraggingDestination for NSMatrix

Available on crate features NSControl and NSResponder and NSView and NSMatrix only.
source§

impl NSDraggingDestination for NSOutlineView

Available on crate features NSControl and NSResponder and NSTableView and NSView and NSOutlineView only.
source§

impl NSDraggingDestination for NSPathControl

Available on crate features NSControl and NSResponder and NSView and NSPathControl only.
source§

impl NSDraggingDestination for NSPopUpButton

Available on crate features NSButton and NSControl and NSResponder and NSView and NSPopUpButton only.
source§

impl NSDraggingDestination for NSPredicateEditor

Available on crate features NSControl and NSResponder and NSRuleEditor and NSView and NSPredicateEditor only.
source§

impl NSDraggingDestination for NSProgressIndicator

Available on crate features NSResponder and NSView and NSProgressIndicator only.
source§

impl NSDraggingDestination for NSRuleEditor

Available on crate features NSControl and NSResponder and NSView and NSRuleEditor only.
source§

impl NSDraggingDestination for NSRulerView

Available on crate features NSResponder and NSView and NSRulerView only.
source§

impl NSDraggingDestination for NSScrollView

Available on crate features NSResponder and NSView and NSScrollView only.
source§

impl NSDraggingDestination for NSScroller

Available on crate features NSControl and NSResponder and NSView and NSScroller only.
source§

impl NSDraggingDestination for NSScrubber

Available on crate features NSResponder and NSView and NSScrubber only.
source§

impl NSDraggingDestination for NSScrubberArrangedView

Available on crate features NSResponder and NSView and NSScrubberItemView only.
source§

impl NSDraggingDestination for NSScrubberImageItemView

Available on crate features NSResponder and NSView and NSScrubberItemView only.
source§

impl NSDraggingDestination for NSScrubberItemView

Available on crate features NSResponder and NSView and NSScrubberItemView only.
source§

impl NSDraggingDestination for NSScrubberSelectionView

Available on crate features NSResponder and NSView and NSScrubberItemView only.
source§

impl NSDraggingDestination for NSScrubberTextItemView

Available on crate features NSResponder and NSView and NSScrubberItemView only.
source§

impl NSDraggingDestination for NSSearchField

Available on crate features NSControl and NSResponder and NSTextField and NSView and NSSearchField only.
source§

impl NSDraggingDestination for NSSecureTextField

Available on crate features NSControl and NSResponder and NSTextField and NSView and NSSecureTextField only.
source§

impl NSDraggingDestination for NSSegmentedControl

Available on crate features NSControl and NSResponder and NSView and NSSegmentedControl only.
source§

impl NSDraggingDestination for NSSlider

Available on crate features NSControl and NSResponder and NSView and NSSlider only.
source§

impl NSDraggingDestination for NSSplitView

Available on crate features NSResponder and NSView and NSSplitView only.
source§

impl NSDraggingDestination for NSStackView

Available on crate features NSResponder and NSView and NSStackView only.
source§

impl NSDraggingDestination for NSStatusBarButton

Available on crate features NSButton and NSControl and NSResponder and NSView and NSStatusBarButton only.
source§

impl NSDraggingDestination for NSStepper

Available on crate features NSControl and NSResponder and NSView and NSStepper only.
source§

impl NSDraggingDestination for NSSwitch

Available on crate features NSControl and NSResponder and NSView and NSSwitch only.
source§

impl NSDraggingDestination for NSTabView

Available on crate features NSResponder and NSView and NSTabView only.
source§

impl NSDraggingDestination for NSTableCellView

Available on crate features NSResponder and NSView and NSTableCellView only.
source§

impl NSDraggingDestination for NSTableHeaderView

Available on crate features NSResponder and NSView and NSTableHeaderView only.
source§

impl NSDraggingDestination for NSTableRowView

Available on crate features NSResponder and NSView and NSTableRowView only.
source§

impl NSDraggingDestination for NSTableView

Available on crate features NSControl and NSResponder and NSView and NSTableView only.
source§

impl NSDraggingDestination for NSText

Available on crate features NSResponder and NSView and NSText only.
source§

impl NSDraggingDestination for NSTextField

Available on crate features NSControl and NSResponder and NSView and NSTextField only.
source§

impl NSDraggingDestination for NSTextInsertionIndicator

Available on crate features NSResponder and NSView and NSTextInsertionIndicator only.
source§

impl NSDraggingDestination for NSTextView

Available on crate features NSResponder and NSText and NSView and NSTextView only.
source§

impl NSDraggingDestination for NSTokenField

Available on crate features NSControl and NSResponder and NSTextField and NSView and NSTokenField only.
source§

impl NSDraggingDestination for NSView

Available on crate features NSResponder and NSView only.
source§

impl NSDraggingDestination for NSVisualEffectView

Available on crate features NSResponder and NSView and NSVisualEffectView only.