Skip to main content

seed_value_binding_state

Function seed_value_binding_state 

Source
pub fn seed_value_binding_state<Shape, Value>(
    state: &mut GpuiComponentStateOf<Shape>,
    value: Option<&Value>,
    window: &mut Window,
    cx: &mut Context<'_, GpuiComponentStateOf<Shape>>,
)
Expand description

Seed component state from the current value without spelling out the associated-type projection at every generated call site.