pub struct Scenario {
pub files: Vec<(String, String)>,
pub argv: Vec<String>,
}Expand description
A whole run: the tree to lay down, and the arguments to run in it.
document alone reaches the transform. It cannot reach what surrounds the
transform — several files at once, an ignore file, --files-from, and the
interaction between them, which is where the CLI corpus has cases and the
generator had nothing.
Fields§
§files: Vec<(String, String)>Relative path to contents. Parent directories are the caller’s to create.
argv: Vec<String>The arguments after the program name.
Auto Trait Implementations§
impl Freeze for Scenario
impl RefUnwindSafe for Scenario
impl Send for Scenario
impl Sync for Scenario
impl Unpin for Scenario
impl UnsafeUnpin for Scenario
impl UnwindSafe for Scenario
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