[][src]Struct rust_code_analysis::FuncSpace

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

Function space data.

Fields

name: Option<String>

The name of a function space

If None, an error is occurred 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>

All subspaces contained in a function space

metrics: CodeMetrics

All metrics of a function space

Trait Implementations

impl Clone for FuncSpace[src]

impl Debug for FuncSpace[src]

impl Serialize for FuncSpace[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.