Struct lmake_lines_of_code::LinesOfCode
source · 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,
}Expand description
Struct that contains 4 types of lines count: code, doc comments, comments, test and examples.
Fields§
§src_code_lines: usizelines with code in srs files
src_doc_comment_lines: usizelines with doc_comments in srs files
src_comment_lines: usizelines with comments in srs files
tests_lines: usizeunit plus integration tests
examples_lines: usizeall lines in examples files
Implementations§
Trait Implementations§
source§impl Debug for LinesOfCode
impl Debug for LinesOfCode
source§impl Default for LinesOfCode
impl Default for LinesOfCode
source§fn default() -> LinesOfCode
fn default() -> LinesOfCode
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinesOfCode
impl RefUnwindSafe for LinesOfCode
impl Send for LinesOfCode
impl Sync for LinesOfCode
impl Unpin for LinesOfCode
impl UnwindSafe for LinesOfCode
Blanket Implementations§
source§impl<T> Any for T
impl<T> Any for T
source§fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove
Any::type_id_compat and use StdAny::type_id instead.
https://github.com/rust-lang/rust/issues/27745
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more