pub enum MouseCursor {
Text,
Move,
Pointer,
CrossHair,
}
impl Default for MouseCursor {
fn default() -> Self {
Self::Text
}
}
impl MouseCursor {
pub fn to_str(&self) -> &str {
match self {
Self::Text => "text",
Self::Move => "move",
Self::Pointer => "default",
Self::CrossHair => "crosshair",
}
}
}