fn opt_min<T: PartialOrd>(a: Option<T>, b: Option<T>) -> Option<T>Expand description
Returns the minimum of two Option<T> values, preferring Some over None.
fn opt_min<T: PartialOrd>(a: Option<T>, b: Option<T>) -> Option<T>Returns the minimum of two Option<T> values, preferring Some over None.