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.
/// This module defines a `Point` struct representing a point in 2D space with x and y coordinates.
#[derive(Copy, Clone, Debug, PartialEq, Default)]pubstructPoint{pubx:i32,
puby:i32,
}implPoint{/// The origin point (0, 0).
pubconstORIGIN: Point = Point { x:0, y:0};/// Creates a new `Point` with the specified x and y coordinates.
pubfnnew(x:i32, y:i32)->Self{
Point { x, y }}}