pub struct ReverseCoverageReport {
pub total_pub_fns: usize,
pub bound_fns: usize,
pub annotated_fns: usize,
pub exempt_fns: usize,
pub unbound: Vec<PubFn>,
pub coverage_pct: f64,
}Expand description
Result of reverse coverage analysis.
Fields§
§total_pub_fns: usizeTotal public functions found in the crate
bound_fns: usizeFunctions that have a binding entry
annotated_fns: usizeFunctions that have a #[contract] annotation
exempt_fns: usizeFunctions marked exempt (trivial, don’t need contracts)
unbound: Vec<PubFn>Functions without any binding
coverage_pct: f64Reverse coverage percentage (bound + exempt / total)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReverseCoverageReport
impl RefUnwindSafe for ReverseCoverageReport
impl Send for ReverseCoverageReport
impl Sync for ReverseCoverageReport
impl Unpin for ReverseCoverageReport
impl UnsafeUnpin for ReverseCoverageReport
impl UnwindSafe for ReverseCoverageReport
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