Enum cacao::dragdrop::DragOperation
source · [−]pub enum DragOperation {
None,
Copy,
Link,
Generic,
Private,
Move,
Delete,
}
Expand description
Represents operations that can happen for a given drag/drop scenario.
Variants
None
No drag operations are allowed.
Copy
The data represented by the image can be copied.
Link
The data can be shared.
Generic
The operation can be defined by the destination.
Private
The operation is negotiated privately between the source and the destination.
Move
The data can be moved.
Delete
The data can be deleted.
Trait Implementations
sourceimpl Clone for DragOperation
impl Clone for DragOperation
sourcefn clone(&self) -> DragOperation
fn clone(&self) -> DragOperation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DragOperation
impl Debug for DragOperation
sourceimpl From<DragOperation> for NSUInteger
impl From<DragOperation> for NSUInteger
sourcefn from(op: DragOperation) -> Self
fn from(op: DragOperation) -> Self
Converts to this type from the input type.
impl Copy for DragOperation
Auto Trait Implementations
impl RefUnwindSafe for DragOperation
impl Send for DragOperation
impl Sync for DragOperation
impl Unpin for DragOperation
impl UnwindSafe for DragOperation
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