pub enum SupportedLanguage {
Rust,
TypeScript,
TSX,
Svelte,
}
Variants§
Implementations§
source§impl SupportedLanguage
impl SupportedLanguage
pub fn get_language(&self) -> Language
Trait Implementations§
source§impl Clone for SupportedLanguage
impl Clone for SupportedLanguage
source§fn clone(&self) -> SupportedLanguage
fn clone(&self) -> SupportedLanguage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SupportedLanguage
impl Debug for SupportedLanguage
source§impl<'de> Deserialize<'de> for SupportedLanguage
impl<'de> Deserialize<'de> for SupportedLanguage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for SupportedLanguage
impl Hash for SupportedLanguage
source§impl PartialEq<SupportedLanguage> for SupportedLanguage
impl PartialEq<SupportedLanguage> for SupportedLanguage
source§fn eq(&self, other: &SupportedLanguage) -> bool
fn eq(&self, other: &SupportedLanguage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.