Function sixtyfps_compilerlib::builtin_macros::min_max_expression [−][src]
pub fn min_max_expression(
lhs: Expression,
rhs: Expression,
op: char
) -> ExpressionExpand 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