Set the character used for empty portion (default: '■').
(mut self, c: char)
| 92 | |
| 93 | /// Set the character used for empty portion (default: '■'). |
| 94 | pub fn empty_char(mut self, c: char) -> Self { |
| 95 | self.empty_char = c; |
| 96 | self |
| 97 | } |
| 98 | |
| 99 | /// Show percentage label at the end (e.g., "75%"). |
| 100 | pub fn show_percentage(mut self, show: bool) -> Self { |
no outgoing calls