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§
impl Freeze for DumpCfg
impl RefUnwindSafe for DumpCfg
impl Send for DumpCfg
impl Sync for DumpCfg
impl Unpin for DumpCfg
impl UnwindSafe for DumpCfg
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