[][src]Function make_pluralrules::generate_rs

pub fn generate_rs(cldr_jsons: &[String]) -> String

Takes a string representation of a CLDR JSON file and produces a string representation of the generated Rust code for the plural rules.

The string representation of the Rust code is written to a specified Rust file and can be used to get the plural category for numerical input.