tqdmoon

    Download zip
    Version
    0.2.0
    License
    MIT
    Last updated
    2 months ago
    Downloads
    44

    Dependencies

    #GeneWang1226/tqdmoon

    BarStyle

    pub struct BarStyle {
    left : String
    right : String
    fill : String
    head : String
    tail : String
    empty : String
    part1 : String
    part2 : String
    part3 : String
    width : Int
    is_prefix : Bool
    is_gradient : Bool
    }

    Tqdm

    pub struct Tqdm[T] {
    iterable : Iter[T]
    total : Int?
    start_instant :
    Timestamp

    bar_style : BarStyle
    desc : String
    unit : String
    current : Int
    last_render_time : Double
    disabled : Bool
    }

    Tqdm::iter

    fn[T] Tqdm::iter(self : Tqdm[T]) -> Iter[T]

    Tqdm::set_desc

    fn[T] Tqdm::set_desc(self : Tqdm[T], desc : String) -> Tqdm[T]

    Tqdm::set_disabled

    fn[T] Tqdm::set_disabled(self : Tqdm[T], disabled : Bool) -> Tqdm[T]

    Tqdm::set_style

    fn[T] Tqdm::set_style(self : Tqdm[T], style : BarStyle) -> Tqdm[T]

    Tqdm::set_unit

    fn[T] Tqdm::set_unit(self : Tqdm[T], unit : String) -> Tqdm[T]

    make_bar_style

    fn make_bar_style(left? : String, right? : String, fill? : String, head? : String, tail? : String, empty? : String, part1? : String, part2? : String, part3? : String, width? : Int, is_prefix? : Bool, is_gradient? : Bool) -> BarStyle

    tqdm

    fn[T] tqdm(iterable : Iter[T], total? : Int?, style? : BarStyle, desc? : String, unit? : String, disabled? : Bool) -> Tqdm[T]

    tqdmoon_ascii

    let tqdmoon_ascii : BarStyle

    tqdmoon_classic

    let tqdmoon_classic : BarStyle

    tqdmoon_google

    let tqdmoon_google : BarStyle

    tqdmoon_moon

    let tqdmoon_moon : BarStyle

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io