elipdotter::index

Struct MissingOccurrences

source
pub struct MissingOccurrences { /* private fields */ }
Expand description

A list of missing occurrences collected when searching for occurrences using SimpleOccurences.

This is a result of the data being changed and the index (Simple) not updating, causing it to think there should be a match when there actually isn’t.

Please call Self::apply on this.

Implementations§

source§

impl MissingOccurrences

source

pub fn apply(self, index: &mut Simple)

source

pub fn list(&self) -> &[(Id, Alphanumeral<StrPtr>)]

Trait Implementations§

source§

impl Debug for MissingOccurrences

source§

fn fmt(&self, f: &mut