Divider builder
A horizontal rule between groups.
A builder is RenderOnce. Construct and mount it in one expression.
use gpui_kit::display::Divider;
Construct
new() -> SelfOptions
Chain onto the value.
id(ident: impl Into<Ident>) -> Self
label(label: 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.