pub struct NormCoverage {
pub total_dirs: usize,
pub dirs_with_norm: usize,
pub ratio: f64,
}Expand description
Aggregate .norm coverage across traversed directories.
Fields§
§total_dirs: usizeTotal traversed directories, including the root.
dirs_with_norm: usizeTraversed directories containing a regular .norm file.
ratio: f64Coverage ratio rounded to three decimal places.
Trait Implementations§
Source§impl Clone for NormCoverage
impl Clone for NormCoverage
impl Copy for NormCoverage
Source§impl Debug for NormCoverage
impl Debug for NormCoverage
Source§impl<'de> Deserialize<'de> for NormCoverage
impl<'de> Deserialize<'de> for NormCoverage
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
Source§impl PartialEq for NormCoverage
impl PartialEq for NormCoverage
Source§impl Serialize for NormCoverage
impl Serialize for NormCoverage
impl StructuralPartialEq for NormCoverage
Auto Trait Implementations§
impl Freeze for NormCoverage
impl RefUnwindSafe for NormCoverage
impl Send for NormCoverage
impl Sync for NormCoverage
impl Unpin for NormCoverage
impl UnsafeUnpin for NormCoverage
impl UnwindSafe for NormCoverage
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