Expand description
A wrapper for NSDraggingInfo
. As this is a protocol/type you should never create yourself,
this only provides getters - merely a Rust-y way to grab what you need.
Fields
info: ShareId<Object>
Implementations
sourceimpl DragInfo
impl DragInfo
sourcepub fn get_pasteboard(&self) -> Pasteboard
pub fn get_pasteboard(&self) -> Pasteboard
Returns a wrapped Pasteboard instance, enabling you to get the contents of whatever is being pasted/dragged/dropped/etc.
Note: in general, you should not store pasteboards.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DragInfo
impl Send for DragInfo
impl Sync for DragInfo
impl Unpin for DragInfo
impl UnwindSafe for DragInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more