list_display

Crates.iolist_display
lib.rslist_display
version0.1.1
sourcesrc
created_at2024-03-27 07:31:19.285329
updated_at2024-03-28 01:33:42.521409
descriptiondisplay list
homepage
repository
max_upload_size
id1187597
size14,324
渊亦邪 (Vzz1c)

documentation

README

list_display

use list_display::*;
fn main() {
    let mut title = VecRowBox::new();
    let mut a1 = VecRowBox::new();
    title.push("Command".bold().blue());
    title.push("Summary".bold().blue());
    a1.push("install".purple());
    a1.push("help".purple());
    let mut box_list = VecBoxList::new();
    box_list.push(title);
    box_list.push(a1);
    box_list.build_rowlist_to_columslist().direction(vec![1], Right).print_list();
}
Commit count: 0

cargo fmt