Frost builder
A frosted-glass surface: blurred backdrop, tinted fill, caller's content.
A builder is RenderOnce. Construct and mount it in one expression.
use gpui_kit::overlay::Frost;
Construct
new(ident: impl Into<Ident>) -> SelfOptions
Chain onto the value.
surface(surface: Surface) -> Self
radius(radius: Radius) -> Self
blur(blur: f32) -> Self
child(child: impl IntoElement) -> SelfRendered by
Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.