1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#![doc = include_str!("../readme.md")]

pub mod button;
pub mod date_input;
pub mod input;
pub mod masked_input;
pub mod util;

pub use pure_rust_locales::Locale;

pub use rat_event::{FocusKeys, HandleEvent, MouseOnly};

/// Result value for event-handling. Used widgets in this crate.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Outcome {
    /// The given event was not handled at all.
    NotUsed,
    /// The event was handled, no repaint necessary.
    Unchanged,
    /// The event was handled, repaint necessary.
    Changed,
}

mod _private {
    #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
    pub struct NonExhaustive;
}