Struct move_coverage::coverage_map::ExecCoverageMap  
source · [−]pub struct ExecCoverageMap {
    pub exec_id: String,
    pub module_maps: BTreeMap<(AccountAddress, Identifier), ModuleCoverageMap>,
}Fields
exec_id: Stringmodule_maps: BTreeMap<(AccountAddress, Identifier), ModuleCoverageMap>Implementations
sourceimpl ExecCoverageMap
 
impl ExecCoverageMap
pub fn new(exec_id: String) -> Self
pub fn insert_multi(
    &mut self, 
    module_addr: AccountAddress, 
    module_name: Identifier, 
    func_name: Identifier, 
    pc: u64, 
    count: u64
)
pub fn insert(
    &mut self, 
    module_addr: AccountAddress, 
    module_name: Identifier, 
    func_name: Identifier, 
    pc: u64
)
pub fn into_coverage_map_with_modules(
    self, 
    modules: BTreeMap<AccountAddress, BTreeMap<Identifier, (String, CompiledModule)>>
) -> ExecCoverageMapWithModules
Trait Implementations
sourceimpl Debug for ExecCoverageMap
 
impl Debug for ExecCoverageMap
sourceimpl<'de> Deserialize<'de> for ExecCoverageMap
 
impl<'de> Deserialize<'de> for ExecCoverageMap
sourcefn 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
sourceimpl Serialize for ExecCoverageMap
 
impl Serialize for ExecCoverageMap
Auto Trait Implementations
impl RefUnwindSafe for ExecCoverageMap
impl Send for ExecCoverageMap
impl Sync for ExecCoverageMap
impl Unpin for ExecCoverageMap
impl UnwindSafe for ExecCoverageMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more