pub struct Hit { /* private fields */ }
Expand description
An occurrence returned from Query
.
Implementations§
source§impl Hit
impl Hit
sourcepub fn start(&self) -> usize
pub fn start(&self) -> usize
Get a reference to the hit’s document id.
This might be any of the Self::occurrences
if that returns any items.