next_value_helper

Function next_value_helper 

Source
fn next_value_helper<const INC: bool>(value: ScalarValue) -> ScalarValue
Expand description

This function returns the next/previous value depending on the INC value. If true, it returns the next value; otherwise it returns the previous value.