Skip to main content

value_change

Function value_change 

Source
pub fn value_change<Shape, Value>(
    state: &GpuiComponentStateOf<Shape>,
    event: &GpuiComponentEventOf<Shape, Value>,
) -> ValueChange<Value>
Expand description

Convert a component event into a value change without repeating UFCS projections in generated code.