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.
args: Vec<String>The arguments passed to the node.js process.
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 moresourceimpl Debug for JsExecOptions
impl Debug for JsExecOptions
sourceimpl Default for JsExecOptions
impl Default for JsExecOptions
sourcefn default() -> JsExecOptions
fn default() -> JsExecOptions
Returns the “default value” for a type. Read more
sourceimpl Hash for JsExecOptions
impl Hash for JsExecOptions
sourceimpl Ord for JsExecOptions
impl Ord for JsExecOptions
sourcefn cmp(&self, other: &JsExecOptions) -> Ordering
fn cmp(&self, other: &JsExecOptions) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<JsExecOptions> for JsExecOptions
impl PartialEq<JsExecOptions> for JsExecOptions
sourcefn eq(&self, other: &JsExecOptions) -> bool
fn eq(&self, other: &JsExecOptions) -> bool
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>
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 moreimpl 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 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