pub struct Request {
pub start_state: StateRef,
pub end_state: StateRef,
pub start_file: Option<Utf8PathBuf>,
pub end_file: Option<Utf8PathBuf>,
pub through: Vec<OpRef>,
pub workdir: Utf8PathBuf,
}
Expand description
A request to the Driver directing it what to build.
Fields§
§start_state: StateRef
The input format.
end_state: StateRef
The output format to produce.
start_file: Option<Utf8PathBuf>
The filename to read the input from, or None to read from stdin.
end_file: Option<Utf8PathBuf>
The filename to write the output to, or None to print to stdout.
through: Vec<OpRef>
A sequence of operators to route the conversion through.
workdir: Utf8PathBuf
The working directory for the build.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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