pub struct PrettyPrintMirOptions {
pub include_extra_comments: bool,
}
Expand description
Cosmetic options for pretty-printing the MIR contents, gathered from the CLI. Each pass can
override these when dumping its own specific MIR information with dump_mir_with_options
.
Fields§
§include_extra_comments: bool
Whether to include extra comments, like span info. From -Z mir-include-spans
.
Auto Trait Implementations§
impl Freeze for PrettyPrintMirOptions
impl RefUnwindSafe for PrettyPrintMirOptions
impl Send for PrettyPrintMirOptions
impl Sync for PrettyPrintMirOptions
impl Unpin for PrettyPrintMirOptions
impl UnwindSafe for PrettyPrintMirOptions
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