fn options_value<T>(first: Option<T>, second: Option<T>) -> Option<T> {
  if first.is_some() {
    first
  } else {
    second
  }
}
/// Returns the first Option with a value, or None if both are None.
Returns the first Option with a value, or None if both are None.
Returns the first Option with a value or None if both are None .
fn options_value<T>(first: Option<T>, second: Option<T>) -> Option<T> {
  if first.is_some() {
    first
  } else {
    second
  }
}
fn options_value < T > ( first : Option < T > , second : Option < T > ) -> Option < T > { if first . is_some ( ) { first } else { second } }
Returns the first Option with a value, or None if both are None.
Returns the first Option with a value or None if both are None .
first
Option<T>
second
Option<T>
first
Option<T>
second
Option<T>