MCPcopy Create free account
hub / github.com/5ocworkshop/bgraph / empty_char

Method empty_char

src/classes/cls_meter.rs:94–97  ·  view source on GitHub ↗

Set the character used for empty portion (default: '■').

(mut self, c: char)

Source from the content-addressed store, hash-verified

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 {

Callers 1

test_meter_custom_charsFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_meter_custom_charsFunction · 0.64