Skip to main content

build_component_shape

Function build_component_shape 

Source
pub fn build_component_shape<Shape, Builder>(
    builder: Builder,
    window: &mut Window,
    cx: &mut Context<'_, GpuiComponentStateOf<Shape>>,
) -> GpuiComponentStateOf<Shape>
where Shape: GpuiComponentShape, Builder: GpuiComponentShapeBuilder<Shape>,
Expand description

Build component state from a configured shape builder.