pub struct CommentDensity {
pub code_lines: usize,
pub comment_lines: usize,
}Fields§
§code_lines: usize§comment_lines: usizeImplementations§
Trait Implementations§
Source§impl Add for CommentDensity
impl Add for CommentDensity
Source§impl Clone for CommentDensity
impl Clone for CommentDensity
impl Copy for CommentDensity
Source§impl Debug for CommentDensity
impl Debug for CommentDensity
Source§impl Default for CommentDensity
impl Default for CommentDensity
Source§impl Display for CommentDensity
impl Display for CommentDensity
impl Eq for CommentDensity
Source§impl PartialEq for CommentDensity
impl PartialEq for CommentDensity
impl StructuralPartialEq for CommentDensity
Auto Trait Implementations§
impl Freeze for CommentDensity
impl RefUnwindSafe for CommentDensity
impl Send for CommentDensity
impl Sync for CommentDensity
impl Unpin for CommentDensity
impl UnsafeUnpin for CommentDensity
impl UnwindSafe for CommentDensity
Blanket Implementations§
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