pub enum OutputMode {
SingleFile(PathBuf),
Stdout,
NoOutput,
}
Expand description
Where the Compiler output should go.
Variants§
SingleFile(PathBuf)
Write all compiled modules to a single file. Uses a default filename if path is a directory.
Stdout
Write all compiled modules to stdout.
NoOutput
Do not write anything, only check.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OutputMode
impl RefUnwindSafe for OutputMode
impl Send for OutputMode
impl Sync for OutputMode
impl Unpin for OutputMode
impl UnwindSafe for OutputMode
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