create_keypath_operation

Function create_keypath_operation 

Source
pub fn create_keypath_operation<T, V, F, R>(
    keypath: KeyPaths<T, V>,
    operation: F,
) -> impl Fn(T) -> KeyPathResult<R>
where F: Fn(&V) -> R,
Expand description

Create a keypath operation that can be reused