[][src]Struct rust_code_analysis::FindCfg

pub struct FindCfg {
    pub path: PathBuf,
    pub filters: Vec<String>,
    pub line_start: Option<usize>,
    pub line_end: Option<usize>,
}

Configuration options for finding different types of nodes in a code.

Fields

path: PathBuf

Path to the file containing the code

filters: Vec<String>

Types of nodes to find

line_start: Option<usize>

The first line of code considered in the search

If None, the search starts from the first line of code in a file

line_end: Option<usize>

The end line of code considered in the search

If None, the search ends at the last line of code in a file

Auto Trait Implementations

impl RefUnwindSafe for FindCfg

impl Send for FindCfg

impl Sync for FindCfg

impl Unpin for FindCfg

impl UnwindSafe for FindCfg

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.