Avatar builder
A circular mark for a person or a workspace.
A builder is RenderOnce. Construct and mount it in one expression.
use gpui_kit::display::Avatar;
Construct
new(name: impl Into<SharedString>) -> SelfOptions
Chain onto the value.
id(ident: impl Into<Ident>) -> Self
image(image: impl Into<SharedString>) -> Self
size(size: f32) -> SelfRendered by
Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.