ProgressCircle builder
A ring for work in a place too tight for a bar.
A builder is RenderOnce. Construct and mount it in one expression.
use gpui_kit::display::ProgressCircle;
Construct
new(ident: impl Into<Ident>) -> SelfOptions
Chain onto the value.
label(label: impl Into<SharedString>) -> Self
fraction(fraction: f32) -> Self
count(done: usize, total: usize) -> Self
display(display: impl Into<SharedString>) -> Self
centre(centre: impl Into<SharedString>) -> SelfRendered by
Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.