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,
Create a keypath operation that can be reused