[][src]Struct rust_code_analysis::DumpCfg

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

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 RefUnwindSafe for DumpCfg

impl Send for DumpCfg

impl Sync for DumpCfg

impl Unpin for DumpCfg

impl UnwindSafe for DumpCfg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.