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 ==
.source§impl Serialize for SupportedLanguage
impl Serialize for SupportedLanguage
impl Copy for SupportedLanguage
impl Eq for SupportedLanguage
impl StructuralEq for SupportedLanguage
impl StructuralPartialEq for SupportedLanguage
Auto Trait Implementations§
impl RefUnwindSafe for SupportedLanguage
impl Send for SupportedLanguage
impl Sync for SupportedLanguage
impl Unpin for SupportedLanguage
impl UnwindSafe for SupportedLanguage
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.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.