pub struct DocumentationCoverage {
pub total_functions: usize,
pub documented_functions: usize,
pub total_classes: usize,
pub documented_classes: usize,
pub coverage_percentage: f64,
pub documentation_lines: usize,
pub total_lines: usize,
}Expand description
Documentation coverage analysis results
Fields§
§total_functions: usizeTotal number of functions/methods
documented_functions: usizeNumber of documented functions
total_classes: usizeTotal number of classes
documented_classes: usizeNumber of documented classes
coverage_percentage: f64Documentation coverage percentage
documentation_lines: usizeLines of documentation
total_lines: usizeTotal lines of code
Trait Implementations§
Source§impl Clone for DocumentationCoverage
impl Clone for DocumentationCoverage
Source§fn clone(&self) -> DocumentationCoverage
fn clone(&self) -> DocumentationCoverage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentationCoverage
impl Debug for DocumentationCoverage
Source§impl Default for DocumentationCoverage
impl Default for DocumentationCoverage
Source§fn default() -> DocumentationCoverage
fn default() -> DocumentationCoverage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentationCoverage
impl<'de> Deserialize<'de> for DocumentationCoverage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DocumentationCoverage
impl RefUnwindSafe for DocumentationCoverage
impl Send for DocumentationCoverage
impl Sync for DocumentationCoverage
impl Unpin for DocumentationCoverage
impl UnwindSafe for DocumentationCoverage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more