pub struct RegionTouchFold {
pub per_token: BTreeMap<Token, u8>,
}Expand description
Accumulates contract region touches per token: the OR of every
event’s regions bitmask (doc 19 §4.2). Commutative and
duplicate-tolerant by construction — OR is both — so R-1/R-3 hold
without ceremony. coverage evaluates this against the manifest’s
declared crate::Contract.
Fields§
§per_token: BTreeMap<Token, u8>Token → OR of region-touch bits observed so far.
Trait Implementations§
Source§impl Debug for RegionTouchFold
impl Debug for RegionTouchFold
Source§impl Default for RegionTouchFold
impl Default for RegionTouchFold
Source§fn default() -> RegionTouchFold
fn default() -> RegionTouchFold
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegionTouchFold
impl RefUnwindSafe for RegionTouchFold
impl Send for RegionTouchFold
impl Sync for RegionTouchFold
impl Unpin for RegionTouchFold
impl UnsafeUnpin for RegionTouchFold
impl UnwindSafe for RegionTouchFold
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