Enum swc_ecma_ast::JSXElementName
source · [−]pub enum JSXElementName {
Ident(Ident),
JSXMemberExpr(JSXMemberExpr),
JSXNamespacedName(JSXNamespacedName),
}
Variants
Ident(Ident)
JSXMemberExpr(JSXMemberExpr)
JSXNamespacedName(JSXNamespacedName)
Trait Implementations
sourceimpl Clone for JSXElementName
impl Clone for JSXElementName
sourcefn clone(&self) -> JSXElementName
fn clone(&self) -> JSXElementName
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for JSXElementName
impl Debug for JSXElementName
sourceimpl<'de> Deserialize<'de> for JSXElementName
impl<'de> Deserialize<'de> for JSXElementName
sourcefn 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
sourceimpl EqIgnoreSpan for JSXElementName
impl EqIgnoreSpan for JSXElementName
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<Ident> for JSXElementName
impl From<Ident> for JSXElementName
sourceimpl From<JSXMemberExpr> for JSXElementName
impl From<JSXMemberExpr> for JSXElementName
sourcefn from(v: JSXMemberExpr) -> Self
fn from(v: JSXMemberExpr) -> Self
Converts to this type from the input type.
sourceimpl From<JSXNamespacedName> for JSXElementName
impl From<JSXNamespacedName> for JSXElementName
sourcefn from(v: JSXNamespacedName) -> Self
fn from(v: JSXNamespacedName) -> Self
Converts to this type from the input type.
sourceimpl Hash for JSXElementName
impl Hash for JSXElementName
sourceimpl PartialEq<JSXElementName> for JSXElementName
impl PartialEq<JSXElementName> for JSXElementName
sourcefn eq(&self, other: &JSXElementName) -> bool
fn eq(&self, other: &JSXElementName) -> bool
sourceimpl Serialize for JSXElementName
impl Serialize for JSXElementName
sourceimpl Spanned for JSXElementName
impl Spanned for JSXElementName
sourceimpl Take for JSXElementName
impl Take for JSXElementName
impl Eq for JSXElementName
impl StructuralEq for JSXElementName
impl StructuralPartialEq for JSXElementName
Auto Trait Implementations
impl RefUnwindSafe for JSXElementName
impl Send for JSXElementName
impl Sync for JSXElementName
impl Unpin for JSXElementName
impl UnwindSafe for JSXElementName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more