pub struct PrintOpts {
pub ast: bool,
pub finalized_asm: bool,
pub intermediate_asm: bool,
pub ir: bool,
}
Fields
ast: bool
Print the generated Sway AST (Abstract Syntax Tree).
finalized_asm: bool
Print the finalized ASM.
This is the state of the ASM with registers allocated and optimisations applied.
intermediate_asm: bool
Print the generated ASM.
This is the state of the ASM prior to performing register allocation and other ASM optimisations.
ir: bool
Print the generated Sway IR (Intermediate Representation).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PrintOpts
impl Send for PrintOpts
impl Sync for PrintOpts
impl Unpin for PrintOpts
impl UnwindSafe for PrintOpts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more