Enum rust_code_analysis::LANG
source · pub enum LANG {
Mozjs,
Javascript,
Java,
Rust,
Cpp,
Python,
Tsx,
Typescript,
Ccomment,
Preproc,
}
Expand description
The list of supported languages.
Variants§
Mozjs
The Mozjs
language is variant of the JavaScript
language
Javascript
The JavaScript
language
Java
The Java
language
Rust
The Rust
language
Cpp
The C/C++
language
Python
The Python
language
Tsx
The Tsx
language incorporates the JSX
syntax inside TypeScript
Typescript
The TypeScript
language
Ccomment
The Ccomment
language is a variant of the C
language focused on comments
Preproc
The PreProc
language is a variant of the C/C++
language focused on macros
Implementations§
Trait Implementations§
source§impl PartialEq<LANG> for LANG
impl PartialEq<LANG> for LANG
impl Copy for LANG
impl Eq for LANG
impl StructuralEq for LANG
impl StructuralPartialEq for LANG
Auto Trait Implementations§
impl RefUnwindSafe for LANG
impl Send for LANG
impl Sync for LANG
impl Unpin for LANG
impl UnwindSafe for LANG
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.