pub fn combining<Root, Value, NewValue>(
getter: impl Fn(&Root) -> Value + Clone + 'static,
combine: impl Fn(Value, Value) -> NewValue + Clone + 'static,
) -> impl Fn(Value, &Root) -> NewValuewhere
Value: Clone,Expand description
Equivalent of Swift combining(getter, combine)
Takes a getter and a binary function, returns a new function (Value, Root) -> NewValue