Skip to main content

ferroui_base/input/
drag_drop_effects.rs

1use bitflags::bitflags;
2
3bitflags! {
4    /// The effects of a drag-and-drop operation.
5    #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
6    pub struct DragDropEffects: i32 {
7        /// The data is not accepted.
8        const NONE = 0;
9        /// The data is copied to the drop target.
10        const COPY = 1;
11        /// The data is moved to the drop target.
12        const MOVE = 2;
13        /// The data is linked to the drop target.
14        const LINK = 4;
15    }
16}