pub struct CoverageInstrumenter { /* private fields */ }Expand description
代码覆盖率插桩器
Implementations§
Source§impl CoverageInstrumenter
impl CoverageInstrumenter
Sourcepub fn instrument(&mut self, _module: &mut ()) -> Result<CoverageMetadata>
pub fn instrument(&mut self, _module: &mut ()) -> Result<CoverageMetadata>
对模块进行覆盖率插桩
Auto Trait Implementations§
impl Freeze for CoverageInstrumenter
impl RefUnwindSafe for CoverageInstrumenter
impl Send for CoverageInstrumenter
impl Sync for CoverageInstrumenter
impl Unpin for CoverageInstrumenter
impl UnsafeUnpin for CoverageInstrumenter
impl UnwindSafe for CoverageInstrumenter
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