Enum sycamore_dnd::DropEffect
source · pub enum DropEffect {
None,
Copy,
CopyLink,
CopyMove,
Link,
LinkMove,
Move,
All,
}Expand description
The effect allowed when dropping an item.
Variants§
None
No effect
Copy
Copy the item
CopyLink
Copy the item as a link
CopyMove
Copy and move the item
Link
Link the item
LinkMove
Link and move the item
Move
Move the item
All
Any effect
Trait Implementations§
source§impl Clone for DropEffect
impl Clone for DropEffect
source§fn clone(&self) -> DropEffect
fn clone(&self) -> DropEffect
Returns a copy 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 Default for DropEffect
impl Default for DropEffect
source§fn default() -> DropEffect
fn default() -> DropEffect
Returns the “default value” for a type. Read more