pub fn ternary<T: Debug + Display + Clone>(
condition: impl Expressive<T>,
true_val: impl Expressive<T>,
false_val: impl Expressive<T>,
) -> Ternary<T>Expand description
Shorthand for Ternary::new(condition, true_val, false_val).
pub fn ternary<T: Debug + Display + Clone>(
condition: impl Expressive<T>,
true_val: impl Expressive<T>,
false_val: impl Expressive<T>,
) -> Ternary<T>Shorthand for Ternary::new(condition, true_val, false_val).