Enum swc_ecma_ast::JSXAttrValue [−][src]
pub enum JSXAttrValue {
Lit(Lit),
JSXExprContainer(JSXExprContainer),
JSXElement(Box<JSXElement>),
JSXFragment(JSXFragment),
}
Variants
Lit(Lit)
Tuple Fields of Lit
0: Lit
JSXExprContainer(JSXExprContainer)
Tuple Fields of JSXExprContainer
JSXElement(Box<JSXElement>)
Tuple Fields of JSXElement
0: Box<JSXElement>
JSXFragment(JSXFragment)
Tuple Fields of JSXFragment
0: JSXFragment
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for JSXAttrValue
impl Send for JSXAttrValue
impl Sync for JSXAttrValue
impl Unpin for JSXAttrValue
impl UnwindSafe for JSXAttrValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more