pub struct Overrides {
pub yaml: Option<bool>,
pub indent: Option<usize>,
pub json: bool,
}Expand description
decl evaluate: (exit code, the document for stdout, diagnostics tagged
with the file each is reported against, bare stderr lines to print
after them). What to emit, and where (§5.5): each --output name[=file]
names a root — an output, or an input bound by –input or demanded
through its fallback — and the file its document goes to (stdout
without one); with no –output, the entry module’s exported outputs, as
one object keyed by name, on stdout
the overrides of the declared forms: --format, --indent / --pretty
(docs/tooling/05_render.md §3.4); json is the –json report
Fields§
§yaml: Option<bool>--format yaml
indent: Option<usize>--indent n, or 2 for --pretty
json: bool--json: the report carries the document itself, whatever the layout
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Overrides
impl RefUnwindSafe for Overrides
impl Send for Overrides
impl Sync for Overrides
impl Unpin for Overrides
impl UnsafeUnpin for Overrides
impl UnwindSafe for Overrides
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