pub struct DexDedup { /* private fields */ }Expand description
Content keys claimed by the entries of one sweep.
Implementations§
Source§impl DexDedup
impl DexDedup
pub fn new() -> DexDedup
Sourcepub fn claim(&self, entry: &Entry) -> Claim
pub fn claim(&self, entry: &Entry) -> Claim
Claim entry’s content. Claim every entry of the sweep before
searching any of them, so a leader knows whether anyone follows.
Sourcepub fn claim_rules(&self, entry: &Entry, rules: &[usize]) -> Claim
pub fn claim_rules(&self, entry: &Entry, rules: &[usize]) -> Claim
DexDedup::claim for an entry searched for the rules rules (indexes
into the sweep’s rule set): it shares rows only with entries searched
for the same rules.
Sourcepub fn follows(claim: &Claim) -> bool
pub fn follows(claim: &Claim) -> bool
Whether a claim follows another entry (and is cheap to search).
Entries answered from another APK’s search so far.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DexDedup
impl Forget for DexDedup
impl Move for DexDedup
impl RefUnwindSafe for DexDedup
impl Send for DexDedup
impl Sync for DexDedup
impl Unpin for DexDedup
impl UnsafeUnpin for DexDedup
impl UnwindSafe for DexDedup
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