pub struct PrintOpts {
pub ast: bool,
pub finalized_asm: bool,
pub intermediate_asm: bool,
pub ir: bool,
}Fields
ast: boolPrint the generated Sway AST (Abstract Syntax Tree).
finalized_asm: boolPrint the finalized ASM.
This is the state of the ASM with registers allocated and optimisations applied.
intermediate_asm: boolPrint the generated ASM.
This is the state of the ASM prior to performing register allocation and other ASM optimisations.
ir: boolPrint 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