aminus 1.0.1-beta

genshin stat and damage calculation library
Documentation
1
2
3
4
5
6
7
/// noramlize string for comparison
pub fn flatten_str(s: &str) -> String {
    s.to_ascii_lowercase()
        .chars()
        .filter(|c| c.is_alphanumeric())
        .collect()
}