#[repr(C)]pub enum DragEffect {
None = 0,
Copy = 1,
Move = 2,
Link = 3,
}Expand description
Drag/drop effect (like HTML5 dropEffect)
Variants§
None = 0
No drop allowed
Copy = 1
Copy operation
Move = 2
Move operation
Link = 3
Link/shortcut operation
Trait Implementations§
Source§impl Clone for DragEffect
impl Clone for DragEffect
Source§fn clone(&self) -> DragEffect
fn clone(&self) -> DragEffect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DragEffect
impl Debug for DragEffect
Source§impl Default for DragEffect
impl Default for DragEffect
Source§fn default() -> DragEffect
fn default() -> DragEffect
Returns the “default value” for a type. Read more
Source§impl PartialEq for DragEffect
impl PartialEq for DragEffect
impl Copy for DragEffect
impl Eq for DragEffect
impl StructuralPartialEq for DragEffect
Auto Trait Implementations§
impl Freeze for DragEffect
impl RefUnwindSafe for DragEffect
impl Send for DragEffect
impl Sync for DragEffect
impl Unpin for DragEffect
impl UnwindSafe for DragEffect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more