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