Skip to main content

opt_float

Function opt_float 

Source
fn opt_float(y: &Yaml, what: &'static str) -> Result<Option<f64>, String>
Expand description

optional double in the proto, so absent and 0 are different values and the difference is visible in a histogram.