Function veloren_common::util::option::either_with

source ยท
pub fn either_with<T, F>(opt1: Option<T>, opt2: Option<T>, f: F) -> Option<T>
where F: FnOnce(T, T) -> T,