pub struct PostingEntry {
pub point_id: PointId,
pub weight: f32,
}Expand description
A posting list entry: (point_id, weight).
Fields§
§point_id: PointIdThe point ID.
weight: f32The weight (term frequency or TF-IDF weight).
Implementations§
Trait Implementations§
Source§impl Clone for PostingEntry
impl Clone for PostingEntry
Source§fn clone(&self) -> PostingEntry
fn clone(&self) -> PostingEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PostingEntry
impl Debug for PostingEntry
Source§impl PartialEq for PostingEntry
impl PartialEq for PostingEntry
impl Copy for PostingEntry
impl StructuralPartialEq for PostingEntry
Auto Trait Implementations§
impl Freeze for PostingEntry
impl RefUnwindSafe for PostingEntry
impl Send for PostingEntry
impl Sync for PostingEntry
impl Unpin for PostingEntry
impl UnwindSafe for PostingEntry
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