Enum oxc_span::LanguageVariant
source · pub enum LanguageVariant {
Standard,
Jsx,
}Expand description
JSX for JavaScript and TypeScript
Variants§
Trait Implementations§
source§impl Clone for LanguageVariant
impl Clone for LanguageVariant
source§fn clone(&self) -> LanguageVariant
fn clone(&self) -> LanguageVariant
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 LanguageVariant
impl Debug for LanguageVariant
source§impl Hash for LanguageVariant
impl Hash for LanguageVariant
source§impl PartialEq<LanguageVariant> for LanguageVariant
impl PartialEq<LanguageVariant> for LanguageVariant
source§fn eq(&self, other: &LanguageVariant) -> bool
fn eq(&self, other: &LanguageVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for LanguageVariant
impl Eq for LanguageVariant
impl StructuralEq for LanguageVariant
impl StructuralPartialEq for LanguageVariant
Auto Trait Implementations§
impl RefUnwindSafe for LanguageVariant
impl Send for LanguageVariant
impl Sync for LanguageVariant
impl Unpin for LanguageVariant
impl UnwindSafe for LanguageVariant
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