Struct leo_compiler::OutputOptions
source · pub struct OutputOptions {
pub spans_enabled: bool,
pub initial_ast: bool,
pub initial_input_ast: bool,
pub unrolled_ast: bool,
pub ssa_ast: bool,
pub flattened_ast: bool,
}
Fields
spans_enabled: bool
Whether spans are enabled in the output ASTs.
initial_ast: bool
If enabled writes the AST after parsing.
initial_input_ast: bool
If enabled writes the input AST after parsing.
unrolled_ast: bool
If enabled writes the AST after loop unrolling.
ssa_ast: bool
If enabled writes the AST after static single assignment.
flattened_ast: bool
If enabled writes the AST after flattening.
Trait Implementations
sourceimpl Clone for OutputOptions
impl Clone for OutputOptions
sourcefn clone(&self) -> OutputOptions
fn clone(&self) -> OutputOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for OutputOptions
impl Default for OutputOptions
sourcefn default() -> OutputOptions
fn default() -> OutputOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for OutputOptions
impl Send for OutputOptions
impl Sync for OutputOptions
impl Unpin for OutputOptions
impl UnwindSafe for OutputOptions
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