Struct swc_ecma_transforms_react::JsxDirectives [−][src]
pub struct JsxDirectives {
pub runtime: Option<Runtime>,
pub import_source: Option<JsWord>,
pub pragma: Option<Arc<Box<Expr>>>,
pub pragma_frag: Option<Arc<Box<Expr>>>,
}
Fields
runtime: Option<Runtime>
import_source: Option<JsWord>
For automatic runtime.
pragma: Option<Arc<Box<Expr>>>
Parsed from @jsx
pragma_frag: Option<Arc<Box<Expr>>>
Parsed from @jsxFrag
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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 JsxDirectives
impl Send for JsxDirectives
impl Sync for JsxDirectives
impl Unpin for JsxDirectives
impl UnwindSafe for JsxDirectives
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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