Module prelude

Source

Re-exports§

pub use crate::core::config::Config;
pub use crate::core::error::AppError;
pub use crate::core::error::Result;
pub use crate::i18n::clear_translation_cache;
pub use crate::i18n::get_available_languages;
pub use crate::i18n::get_color_category_for_display;
pub use crate::i18n::get_command_translation;
pub use crate::i18n::get_current_language;
pub use crate::i18n::get_translation;
pub use crate::i18n::has_translation;
pub use crate::i18n::set_language;
pub use crate::i18n::TranslationError;
pub use crate::ui::color::AppColor;
pub use crate::commands::Command;
pub use crate::commands::CommandHandler;
pub use crate::commands::CommandRegistry;
pub use crate::input::keyboard::KeyAction;
pub use crate::output::display::MessageDisplay;

Modules§

io
Traits, helpers, and type definitions for core I/O functionality.

Macros§

debug
Logs a message at the debug level.
error
Logs a message at the error level.
info
Logs a message at the info level.
t
tc
trace
Logs a message at the trace level.
warn
Logs a message at the warn level.

Structs§

Duration
A Duration type to represent a span of time, typically used for system timeouts.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
Instant
A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.
KeyEvent
Represents a key event.

Enums§

Color
ANSI Color
KeyCode
Represents a key.

Traits§

Write
A trait for objects which are byte-oriented sinks.