[][src]Struct lmake_lines_of_code::LinesOfCode

pub struct LinesOfCode {
    pub src_code_lines: usize,
    pub src_doc_comment_lines: usize,
    pub src_comment_lines: usize,
    pub tests_lines: usize,
    pub examples_lines: usize,
}

Struct that contains 4 types of lines count: code, doc comments, comments, test and examples.

Fields

src_code_lines: usize

lines with code in srs files

src_doc_comment_lines: usize

lines with doc_comments in srs files

src_comment_lines: usize

lines with comments in srs files

tests_lines: usize

unit plus integration tests

examples_lines: usize

all lines in examples files

Implementations

impl LinesOfCode[src]

pub fn new(
    src_code_lines: usize,
    src_doc_comment_lines: usize,
    src_comment_lines: usize,
    tests_lines: usize,
    examples_lines: usize
) -> LinesOfCode
[src]

Trait Implementations

impl Debug for LinesOfCode[src]

impl Default for LinesOfCode[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any + ?Sized

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.