Skip to content

rs_rich.ext.size_bar

Generated from the type stubs by scripts/gen_python_api.py; do not edit.

rs_rich.ext.size_bar: a size against a total or a limit (rich_ext::size_bar).

No Rich counterpart: this is the port's own rs-rich-ext crate.

SIZE_BAR_STYLES module-attribute

SIZE_BAR_STYLES: List[Any]

STYLES module-attribute

STYLES = SIZE_BAR_STYLES

SizeBar

is_high property

is_high: Any

is_over property

is_over: Any

ratio property

ratio: Any

limit staticmethod

limit(used: Any, limit: Any, *, label: Any = ..., units: Any = ..., bar_width: Any = ..., warn_at: Any = ..., show_sizes: Any = ..., show_percent: Any = ...) -> Any