[−][src]Struct rust_covfix::FileCoverage
Coverage information for a single file
FileCoverage
holds coverage information for lines and branches in the source file.
Implementations
impl FileCoverage
[src]
pub fn new<P: Into<PathBuf>>(
path: P,
line_coverages: Vec<LineCoverage>,
branch_coverages: Vec<BranchCoverage>
) -> Self
[src]
path: P,
line_coverages: Vec<LineCoverage>,
branch_coverages: Vec<BranchCoverage>
) -> Self
pub fn path(&self) -> &Path
[src]
pub fn line_coverages(&self) -> &[LineCoverage]
[src]
pub fn branch_coverages(&self) -> &[BranchCoverage]
[src]
Trait Implementations
impl Debug for FileCoverage
[src]
impl PartialEq<FileCoverage> for FileCoverage
[src]
fn eq(&self, other: &FileCoverage) -> bool
[src]
fn ne(&self, other: &FileCoverage) -> bool
[src]
impl StructuralPartialEq for FileCoverage
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileCoverage
impl Send for FileCoverage
impl Sync for FileCoverage
impl Unpin for FileCoverage
impl UnwindSafe for FileCoverage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,