Enum rust_code_analysis::LANG [−][src]
The list of supported languages.
Variants
The Mozjs
language is variant of the JavaScript
language
The JavaScript
language
The Java
language
The Rust
language
The C/C++
language
The Python
language
The Tsx
language incorporates the JSX
syntax inside TypeScript
The TypeScript
language
The Ccomment
language is a variant of the C
language focused on comments
The PreProc
language is a variant of the C/C++
language focused on macros
Implementations
impl LANG
[src]
pub fn get_name(&self) -> &'static str
[src]
Returns the name of a language as a &str
.
Examples
use rust_code_analysis::LANG; println!("{}", LANG::Rust.get_name());
Trait Implementations
impl Clone for LANG
[src]
impl Copy for LANG
[src]
impl Debug for LANG
[src]
impl IntoEnumIterator for LANG
[src]
type Iterator = LANGEnumIterator
Type of the iterator over the variants.
const VARIANT_COUNT: usize
[src]
fn into_enum_iter() -> Self::Iterator
[src]
impl PartialEq<LANG> for LANG
[src]
impl StructuralPartialEq for LANG
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,