pub struct RecordOptions<'a> {
pub crate_dir: &'a Path,
pub count: usize,
pub inputs: Option<&'a Path>,
pub module: Option<&'a Path>,
pub resolve_from: Option<&'a Path>,
pub node_args: &'a [String],
}Fields§
§crate_dir: &'a Path§count: usizeGenerated cases per function.
inputs: Option<&'a Path>Extra cases, one {"fn": name, "args": [...]} JSON object per line, with "kwargs": {...}
for Python and Ruby arguments passed by keyword.
module: Option<&'a Path>Import the original from this JS module instead of the TS source files.
resolve_from: Option<&'a Path>Resolve npm packages the original imports from this folder’s node_modules.
node_args: &'a [String]Auto Trait Implementations§
impl<'a> Forget for RecordOptions<'a>
impl<'a> Freeze for RecordOptions<'a>
impl<'a> Move for RecordOptions<'a>
impl<'a> RefUnwindSafe for RecordOptions<'a>
impl<'a> Send for RecordOptions<'a>
impl<'a> Sync for RecordOptions<'a>
impl<'a> Unpin for RecordOptions<'a>
impl<'a> UnsafeUnpin for RecordOptions<'a>
impl<'a> UnwindSafe for RecordOptions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more