appcui 0.4.8

A feature-rich and cross-platform TUI/CUI framework for Rust, enabling modern terminal-based applications on Windows, Linux, and macOS. Includes built-in UI components like buttons, menus, list views, tree views, checkboxes, and more. Perfect for building fast and interactive CLI tools and text-based interfaces.
Documentation
#[derive(Copy,Clone,PartialEq,Eq)]
pub enum Type {
    Standard,
    Ascii,
    CheckBox,
    CheckMark,
    FilledBox,
    YesNo,
    PlusMinus,
}
// ✅ 🔲 🗹 🞎 🞏 🞕
impl Type {
    pub(super) fn check_symbol(&self) -> &str {
        match self {
            Type::Standard => "[\u{221A}]",
            Type::Ascii => "[X]",
            Type::CheckBox => "🗹 ",
            Type::CheckMark => "\u{221A}",
            Type::FilledBox => "🞕 ",
            Type::YesNo => "[Y]",
            Type::PlusMinus => "",
        }
    }
    pub(super) fn uncheck_symbol(&self) -> &str {
        match self {
            Type::Standard => "[ ]",
            Type::Ascii => "[ ]",
            Type::CheckBox => "🞎 ",
            Type::CheckMark => "x",
            Type::FilledBox => "🞏 ",
            Type::YesNo => "[N]",
            Type::PlusMinus => "",
        }
    }
}