pub const fn as_str(&self) -> &'static str {
        match self {
            Self::Hunspell => "Hunspell",
            Self::ZSpell => "ZSpell",
            Self::Spellbook => "Spellbook",
            Self::NlpRules => "NlpRules",
            Self::Reflow => "Reflow",
            #[cfg(test)]
            Self::Dummy => "Dummy",
        }
    }
Converts the detector to its static str representation.
src/suggestion.rs