pub enum CodegenOutcome {
Wrote {
module_count: usize,
root: PathBuf,
},
DryRun(String),
}Expand description
Outcome of a codegen run.
Variants§
Wrote
Files were written to disk. Reports how many modules and the output root for status-line rendering.
DryRun(String)
Dry run: the rendered modules concatenated in the same format
main.rs prints to stdout.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodegenOutcome
impl RefUnwindSafe for CodegenOutcome
impl Send for CodegenOutcome
impl Sync for CodegenOutcome
impl Unpin for CodegenOutcome
impl UnsafeUnpin for CodegenOutcome
impl UnwindSafe for CodegenOutcome
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