Function veloren_common::util::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,
pub fn either_with<T, F>(opt1: Option<T>, opt2: Option<T>, f: F) -> Option<T>where
F: FnOnce(T, T) -> T,