pub unsafe trait NSDraggingSource: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn draggingSession_sourceOperationMaskForDraggingContext(
&self,
session: &NSDraggingSession,
context: NSDraggingContext,
) -> NSDragOperation
where Self: Sized + Message { ... }
fn draggingSession_willBeginAtPoint(
&self,
session: &NSDraggingSession,
screen_point: NSPoint,
)
where Self: Sized + Message { ... }
fn draggingSession_movedToPoint(
&self,
session: &NSDraggingSession,
screen_point: NSPoint,
)
where Self: Sized + Message { ... }
fn draggingSession_endedAtPoint_operation(
&self,
session: &NSDraggingSession,
screen_point: NSPoint,
operation: NSDragOperation,
)
where Self: Sized + Message { ... }
fn ignoreModifierKeysForDraggingSession(
&self,
session: &NSDraggingSession,
) -> bool
where Self: Sized + Message { ... }
}Available on crate feature
NSDragging only.Expand description
Provided Methods§
fn draggingSession_sourceOperationMaskForDraggingContext( &self, session: &NSDraggingSession, context: NSDraggingContext, ) -> NSDragOperation
Available on crate feature
NSDraggingSession only.fn draggingSession_willBeginAtPoint( &self, session: &NSDraggingSession, screen_point: NSPoint, )
Available on crate feature
NSDraggingSession only.fn draggingSession_movedToPoint( &self, session: &NSDraggingSession, screen_point: NSPoint, )
Available on crate feature
NSDraggingSession only.fn draggingSession_endedAtPoint_operation( &self, session: &NSDraggingSession, screen_point: NSPoint, operation: NSDragOperation, )
Available on crate feature
NSDraggingSession only.fn ignoreModifierKeysForDraggingSession( &self, session: &NSDraggingSession, ) -> bool
Available on crate feature
NSDraggingSession only.Trait Implementations§
Source§impl ProtocolType for dyn NSDraggingSource
impl ProtocolType for dyn NSDraggingSource
impl<T> ImplementedBy<T> for dyn NSDraggingSource
Implementations on Foreign Types§
impl<T> NSDraggingSource for ProtocolObject<T>where
T: ?Sized + NSDraggingSource,
Implementors§
impl NSDraggingSource for NSCollectionView
Available on crate feature
NSCollectionView only.impl NSDraggingSource for NSOutlineView
Available on crate feature
NSOutlineView only.impl NSDraggingSource for NSTableView
Available on crate feature
NSTableView only.impl NSDraggingSource for NSTextView
Available on crate feature
NSTextView only.