Struct rust_code_analysis::DumpCfg[][src]

pub struct DumpCfg {
    pub line_start: Option<usize>,
    pub line_end: Option<usize>,
}
Expand description

Configuration options for dumping the AST of a code.

Fields

line_start: Option<usize>

The first line of code to dump

If None, the code is dumped from the first line of code in a file

line_end: Option<usize>

The last line of code to dump

If None, the code is dumped until the last line of code in a file

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.