WARNING: Cushy is in early alpha. This guide doubly so.
ProgressBar
The ProgressBar widget draws an indicator to represent
progress. A progress bar can be indeterminant, empty, partially complete, or
fully complete.
The Progressable trait allows many types to be used within progress bars by
implementing one of several helper traits:
ProgressValue: This trait can be implemented for full control over how progress is reported.- Types that ipmlement
RangedandPercentBetweenhaveProgressValueimplemented automatically. This includes all numeric types in Rust..