NSDraggingDestination

Trait NSDraggingDestination 

Source
pub unsafe trait NSDraggingDestination: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn draggingEntered(
        &self,
        sender: &ProtocolObject<dyn NSDraggingInfo>,
    ) -> NSDragOperation
       where Self: Sized + Message { ... }
    fn draggingUpdated(
        &self,
        sender: &ProtocolObject<dyn NSDraggingInfo>,
    ) -> NSDragOperation
       where Self: Sized + Message { ... }
    fn draggingExited(
        &self,
        sender: Option<&ProtocolObject<dyn NSDraggingInfo>>,
    )
       where Self: Sized + Message { ... }
    fn prepareForDragOperation(
        &self,
        sender: &ProtocolObject<dyn NSDraggingInfo>,
    ) -> bool
       where Self: Sized + Message { ... }
    fn performDragOperation(
        &self,
        sender: &ProtocolObject<dyn NSDraggingInfo>,
    ) -> bool
       where Self: Sized + Message { ... }
    fn concludeDragOperation(
        &self,
        sender: Option<&ProtocolObject<dyn NSDraggingInfo>>,
    )
       where Self: Sized + Message { ... }
    fn draggingEnded(&self, sender: &ProtocolObject<dyn NSDraggingInfo>)
       where Self: Sized + Message { ... }
    fn wantsPeriodicDraggingUpdates(&self) -> bool
       where Self: Sized + Message { ... }
    fn updateDraggingItemsForDrag(
        &self,
        sender: Option<&ProtocolObject<dyn NSDraggingInfo>>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSDragging only.
Expand description

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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. Read more
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 NSBackgroundExtensionView

Available on crate feature NSBackgroundExtensionView only.
Source§

impl NSDraggingDestination for NSBox

Available on crate feature NSBox only.
Source§

impl NSDraggingDestination for NSBrowser

Available on crate feature NSBrowser only.
Source§

impl NSDraggingDestination for NSButton

Available on crate feature NSButton only.
Source§

impl NSDraggingDestination for NSClipView

Available on crate feature NSClipView only.
Source§

impl NSDraggingDestination for NSCollectionView

Available on crate feature NSCollectionView only.
Source§

impl NSDraggingDestination for NSColorWell

Available on crate feature NSColorWell only.
Source§

impl NSDraggingDestination for NSComboBox

Available on crate feature NSComboBox only.
Source§

impl NSDraggingDestination for NSComboButton

Available on crate feature NSComboButton only.
Source§

impl NSDraggingDestination for NSControl

Available on crate feature NSControl only.
Source§

impl NSDraggingDestination for NSDatePicker

Available on crate feature NSDatePicker only.
Source§

impl NSDraggingDestination for NSForm

Available on crate feature NSForm only.
Source§

impl NSDraggingDestination for NSGlassEffectContainerView

Available on crate feature NSGlassEffectView only.
Source§

impl NSDraggingDestination for NSGlassEffectView

Available on crate feature NSGlassEffectView only.
Source§

impl NSDraggingDestination for NSGridView

Available on crate feature NSGridView only.
Source§

impl NSDraggingDestination for NSImageView

Available on crate feature NSImageView only.
Source§

impl NSDraggingDestination for NSLevelIndicator

Available on crate feature NSLevelIndicator only.
Source§

impl NSDraggingDestination for NSMatrix

Available on crate feature NSMatrix only.
Source§

impl NSDraggingDestination for NSOpenGLView

Available on crate feature NSOpenGLView only.
Source§

impl NSDraggingDestination for NSOutlineView

Available on crate feature NSOutlineView only.
Source§

impl NSDraggingDestination for NSPathControl

Available on crate feature NSPathControl only.
Source§

impl NSDraggingDestination for NSPopUpButton

Available on crate feature NSPopUpButton only.
Source§

impl NSDraggingDestination for NSPredicateEditor

Available on crate feature NSPredicateEditor only.
Source§

impl NSDraggingDestination for NSProgressIndicator

Available on crate feature NSProgressIndicator only.
Source§

impl NSDraggingDestination for NSRuleEditor

Available on crate feature NSRuleEditor only.
Source§

impl NSDraggingDestination for NSRulerView

Available on crate feature NSRulerView only.
Source§

impl NSDraggingDestination for NSScrollView

Available on crate feature NSScrollView only.
Source§

impl NSDraggingDestination for NSScroller

Available on crate feature NSScroller only.
Source§

impl NSDraggingDestination for NSScrubber

Available on crate feature NSScrubber only.
Source§

impl NSDraggingDestination for NSScrubberArrangedView

Available on crate feature NSScrubberItemView only.
Source§

impl NSDraggingDestination for NSScrubberImageItemView

Available on crate feature NSScrubberItemView only.
Source§

impl NSDraggingDestination for NSScrubberItemView

Available on crate feature NSScrubberItemView only.
Source§

impl NSDraggingDestination for NSScrubberSelectionView

Available on crate feature NSScrubberItemView only.
Source§

impl NSDraggingDestination for NSScrubberTextItemView

Available on crate feature NSScrubberItemView only.
Source§

impl NSDraggingDestination for NSSearchField

Available on crate feature NSSearchField only.
Source§

impl NSDraggingDestination for NSSecureTextField

Available on crate feature NSSecureTextField only.
Source§

impl NSDraggingDestination for NSSegmentedControl

Available on crate feature NSSegmentedControl only.
Source§

impl NSDraggingDestination for NSSlider

Available on crate feature NSSlider only.
Source§

impl NSDraggingDestination for NSSplitView

Available on crate feature NSSplitView only.
Source§

impl NSDraggingDestination for NSStackView

Available on crate feature NSStackView only.
Source§

impl NSDraggingDestination for NSStatusBarButton

Available on crate feature NSStatusBarButton only.
Source§

impl NSDraggingDestination for NSStepper

Available on crate feature NSStepper only.
Source§

impl NSDraggingDestination for NSSwitch

Available on crate feature NSSwitch only.
Source§

impl NSDraggingDestination for NSTabView

Available on crate feature NSTabView only.
Source§

impl NSDraggingDestination for NSTableCellView

Available on crate feature NSTableCellView only.
Source§

impl NSDraggingDestination for NSTableHeaderView

Available on crate feature NSTableHeaderView only.
Source§

impl NSDraggingDestination for NSTableRowView

Available on crate feature NSTableRowView only.
Source§

impl NSDraggingDestination for NSTableView

Available on crate feature NSTableView only.
Source§

impl NSDraggingDestination for NSText

Available on crate feature NSText only.
Source§

impl NSDraggingDestination for NSTextField

Available on crate feature NSTextField only.
Source§

impl NSDraggingDestination for NSTextInsertionIndicator

Available on crate feature NSTextInsertionIndicator only.
Source§

impl NSDraggingDestination for NSTextView

Available on crate feature NSTextView only.
Source§

impl NSDraggingDestination for NSTokenField

Available on crate feature NSTokenField only.
Source§

impl NSDraggingDestination for NSView

Available on crate feature NSView only.
Source§

impl NSDraggingDestination for NSVisualEffectView

Available on crate feature NSVisualEffectView only.