Enum swc_ecma_ast::JSXExpr
source · [−]pub enum JSXExpr {
JSXEmptyExpr(JSXEmptyExpr),
Expr(Box<Expr>),
}
Variants
JSXEmptyExpr(JSXEmptyExpr)
Expr(Box<Expr>)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for JSXExpr
impl<'de> Deserialize<'de> for JSXExpr
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 JSXExpr
impl EqIgnoreSpan for JSXExpr
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<JSXEmptyExpr> for JSXExpr
impl From<JSXEmptyExpr> for JSXExpr
sourcefn from(v: JSXEmptyExpr) -> Self
fn from(v: JSXEmptyExpr) -> Self
Converts to this type from the input type.
impl Eq for JSXExpr
impl StructuralEq for JSXExpr
impl StructuralPartialEq for JSXExpr
Auto Trait Implementations
impl RefUnwindSafe for JSXExpr
impl Send for JSXExpr
impl Sync for JSXExpr
impl Unpin for JSXExpr
impl UnwindSafe for JSXExpr
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