pub fn value_change<Shape, Value>(
state: &GpuiComponentStateOf<Shape>,
event: &GpuiComponentEventOf<Shape, Value>,
) -> ValueChange<Value>where
Shape: GpuiComponentValueBinding<Value>,
GpuiComponentStateOf<Shape>: EventEmitter<GpuiComponentEventOf<Shape, Value>>,Expand description
Convert a component event into a value change without repeating UFCS projections in generated code.