iced-yoda/core/src/mouse/interaction.rs

17 lines
324 B
Rust
Raw Normal View History

/// The interaction of a mouse cursor.
2023-03-14 11:11:17 +01:00
#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord, Default)]
#[allow(missing_docs)]
pub enum Interaction {
2023-03-14 11:11:17 +01:00
#[default]
Idle,
Pointer,
Grab,
Text,
Crosshair,
Working,
Grabbing,
ResizingHorizontally,
ResizingVertically,
NotAllowed,
}