[][src]Struct rust_code_analysis::FuncSpace

pub struct FuncSpace<'a> {
    pub name: Option<&'a str>,
    pub start_line: usize,
    pub end_line: usize,
    pub kind: SpaceKind,
    pub spaces: Vec<FuncSpace<'a>>,
    pub metrics: CodeMetrics<'a>,
}

Function space data.

Fields

name: Option<&'a str>

The name of a function space

If None, an error is occured in parsing the name of a function space

start_line: usize

The first line of a function space

end_line: usize

The last line of a function space

kind: SpaceKind

The space kind

spaces: Vec<FuncSpace<'a>>

All subspaces contained in a function space

metrics: CodeMetrics<'a>

All metrics of a function space

Trait Implementations

impl<'a> Debug for FuncSpace<'a>[src]

impl<'a> Serialize for FuncSpace<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for FuncSpace<'a>

impl<'a> Send for FuncSpace<'a>

impl<'a> Sync for FuncSpace<'a>

impl<'a> Unpin for FuncSpace<'a>

impl<'a> UnwindSafe for FuncSpace<'a>

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.