elipdotter::index

Struct WordOccurrence

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

Eq isn’t implemented as you’d probably want to check which document it belongs to as well.

Implementations§

source§

impl WordOccurrence

source

pub fn position(&self) -> usize

Get the occurrence of the word’s position.

Trait Implementations§

source§

impl Clone for WordOccurrence

source§

fn clone(&self) -> WordOccurrence

Returns a copy of the value. Read more
1.0.0 · source§