pub trait LanguageInfo {
type BaseLang;
// Required method
fn lang() -> LANG;
}Expand description
Static identification of a language code tag.
Implemented by every XxxCode type generated by the internal
mk_code! macro. Crate-internal: reached only through the
pub Parser<T> plumbing behind the big_code_analysis::Ast seam.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".