[][src]Struct swc_ecma_ast::JSXAttr

pub struct JSXAttr {
    pub span: Span,
    pub name: JSXAttrName,
    pub value: Option<Box<Expr>>,


span: Spanname: JSXAttrNamevalue: Option<Box<Expr>>

Babel uses Expr instead of JSXAttrValue

Trait Implementations

impl AstNode for JSXAttr[src]

impl Clone for JSXAttr[src]

impl Debug for JSXAttr[src]

impl<'de> Deserialize<'de> for JSXAttr[src]

impl From<JSXAttr> for JSXAttrOrSpread[src]

impl PartialEq<JSXAttr> for JSXAttr[src]

impl Serialize for JSXAttr[src]

impl Spanned for JSXAttr[src]

impl StructuralPartialEq for JSXAttr[src]

Auto Trait Implementations

impl RefUnwindSafe for JSXAttr

impl Send for JSXAttr

impl Sync for JSXAttr

impl Unpin for JSXAttr

impl UnwindSafe for JSXAttr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> Erased for T

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.