Skip to main content

infer_numbers

Function infer_numbers 

Source
pub fn infer_numbers(params: &mut [Param], body: Node<'_>, source: &str)
Expand description

Unannotated parameters the body uses as numbers (r - g, x * 0.5, max(r, g), x < 1) become number: generated inputs then fit what the code expects.