pub enum LanguageType {
Show 18 variants
Rust,
JavaScript,
Python,
C,
Java,
Go,
Html,
Css,
Json,
Xml,
Yaml,
Toml,
Markdown,
Shell,
Sql,
Docker,
Git,
Code,
}
Expand description
Programming language file types
Variants§
Rust
Rust files
JavaScript
JavaScript/TypeScript files
Python
Python files
C
C/C++ files
Java
Java files
Go
Go files
Html
HTML files
Css
CSS files
Json
JSON files
Xml
XML files
Yaml
YAML files
Toml
TOML files
Markdown
Markdown files
Shell
Shell script files
Sql
SQL files
Docker
Docker files
Git
Git files
Code
Unknown/generic code file
Trait Implementations§
Source§impl Clone for LanguageType
impl Clone for LanguageType
Source§fn clone(&self) -> LanguageType
fn clone(&self) -> LanguageType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LanguageType
impl Debug for LanguageType
Source§impl UnicodeProvider for LanguageType
impl UnicodeProvider for LanguageType
impl Copy for LanguageType
Auto Trait Implementations§
impl Freeze for LanguageType
impl RefUnwindSafe for LanguageType
impl Send for LanguageType
impl Sync for LanguageType
impl Unpin for LanguageType
impl UnwindSafe for LanguageType
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