Function nih_plug::formatters::s2v_i32_power_of_two
source · pub fn s2v_i32_power_of_two() -> Arc<dyn Fn(&str) -> Option<i32> + Send + Sync>
Expand description
Parse a parameter input string to a power of two. Useful in conjunction with
v2s_i32_power_of_two()
to limit integer parameter ranges to be only powers of two.