Struct swc_ecma_testing::JsExecOptions
source · [−]Fields
cache: boolCache the result of the execution.
If true, the result of the execution will be cached.
Cache is not removed and it will be reused if the source code is
identical.
Note that this cache is stored in cargo target directory and will be
removed by cargo clean.
You can change the cache directory name by setting the
SWC_ECMA_TESTING_CACHE_DIR
module: boolIf true, --input-type=module will be added.
Trait Implementations
sourceimpl Clone for JsExecOptions
impl Clone for JsExecOptions
sourcefn clone(&self) -> JsExecOptions
fn clone(&self) -> JsExecOptions
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 more
sourceimpl Debug for JsExecOptions
impl Debug for JsExecOptions
sourceimpl Hash for JsExecOptions
impl Hash for JsExecOptions
sourceimpl Ord for JsExecOptions
impl Ord for JsExecOptions
sourceimpl PartialEq<JsExecOptions> for JsExecOptions
impl PartialEq<JsExecOptions> for JsExecOptions
sourcefn eq(&self, other: &JsExecOptions) -> bool
fn eq(&self, other: &JsExecOptions) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &JsExecOptions) -> bool
fn ne(&self, other: &JsExecOptions) -> bool
This method tests for !=.
sourceimpl PartialOrd<JsExecOptions> for JsExecOptions
impl PartialOrd<JsExecOptions> for JsExecOptions
sourcefn partial_cmp(&self, other: &JsExecOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &JsExecOptions) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for JsExecOptions
impl Eq for JsExecOptions
impl StructuralEq for JsExecOptions
impl StructuralPartialEq for JsExecOptions
Auto Trait Implementations
impl RefUnwindSafe for JsExecOptions
impl Send for JsExecOptions
impl Sync for JsExecOptions
impl Unpin for JsExecOptions
impl UnwindSafe for JsExecOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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