Crate throbber[][src]

This crate serves as an alternative to loading. It is used to display a throbber animation in the terminal while other calculations are done in the main program.

Usage

First, add this to your Cargo.toml

[dependencies]
throbber = "0.1"

Structs

Throbber

Representation of a throbber animation. It can strart, succeed, fail or end at any point.

Constants

CIRCLE_F

◐ ◓ ◑ ◒

DEFAULT_F

⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏

MOVE_EQ_F

[= ] [ = ] [ =] [ = ]

MOVE_EQ_LONG_F

[= ] [== ] [ == ] [ == ] [ ==] [ =]

MOVE_MIN_F

[- ] [ - ] [ -] [ - ]

MOVE_MIN_LONG_F

[- ] [-- ] [ -- ] [ -- ] [ --] [ -]

ROTATE_F

| / - \