Skip to main content
← OpenMECP Documentation

parse_coeff_mode

Function parse_coeff_mode 

Source
pub fn parse_coeff_mode(s: &str) -> CoeffCheckMode
Expand description

Converts config string to CoeffCheckMode.

Maps user-friendly string values to the corresponding enum variant.

§Arguments

  • s - Configuration string (case-insensitive)

§Returns

The corresponding CoeffCheckMode variant.