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§
impl Copy for LANG
impl Eq for LANG
impl StructuralPartialEq for LANG
Auto Trait Implementations§
impl Freeze for LANG
impl RefUnwindSafe for LANG
impl Send for LANG
impl Sync for LANG
impl Unpin for LANG
impl UnwindSafe for LANG
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.