Function sixtyfps_compilerlib::builtin_macros::min_max_expression
source · [−]pub fn min_max_expression(
lhs: Expression,
rhs: Expression,
op: char
) -> Expression
Expand description
Generate an expression which is like min(lhs, rhs)
if op is ‘<’ or max(lhs, rhs)
if op is ‘>’.
counter is an unique id.
The rhs and lhs of the expression must have the same numerical type