pub struct TrigramInfo {
pub posting_offset: u64,
pub posting_length: u32,
pub doc_frequency: u32,
}Expand description
Descriptor pointing into the trigram table for a single trigram.
Fields§
§posting_offset: u64Absolute file offset where the posting list begins.
posting_length: u32Number of bytes in the encoded posting list.
doc_frequency: u32How many files contain this trigram (document frequency).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrigramInfo
impl RefUnwindSafe for TrigramInfo
impl Send for TrigramInfo
impl Sync for TrigramInfo
impl Unpin for TrigramInfo
impl UnsafeUnpin for TrigramInfo
impl UnwindSafe for TrigramInfo
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more