pub struct ArchiveCoverage {
pub filled: usize,
pub total: usize,
}Expand description
Coverage statistics for an archive.
Fields§
§filled: usizeNumber of cells filled.
total: usizeTotal number of cells.
Implementations§
Source§impl ArchiveCoverage
impl ArchiveCoverage
Sourcepub fn percentage(&self) -> f64
pub fn percentage(&self) -> f64
Coverage as a percentage.
Trait Implementations§
Source§impl Clone for ArchiveCoverage
impl Clone for ArchiveCoverage
Source§fn clone(&self) -> ArchiveCoverage
fn clone(&self) -> ArchiveCoverage
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 moreAuto Trait Implementations§
impl Freeze for ArchiveCoverage
impl RefUnwindSafe for ArchiveCoverage
impl Send for ArchiveCoverage
impl Sync for ArchiveCoverage
impl Unpin for ArchiveCoverage
impl UnsafeUnpin for ArchiveCoverage
impl UnwindSafe for ArchiveCoverage
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