pub struct ScoredEntry {
pub doc_id: DocId,
pub score: f64,
}Fields§
§doc_id: DocId§score: f64Implementations§
Source§impl ScoredEntry
impl ScoredEntry
pub fn from_entry(e: &PostingEntry) -> Self
Trait Implementations§
Source§impl Clone for ScoredEntry
impl Clone for ScoredEntry
Source§fn clone(&self) -> ScoredEntry
fn clone(&self) -> ScoredEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScoredEntry
impl RefUnwindSafe for ScoredEntry
impl Send for ScoredEntry
impl Sync for ScoredEntry
impl Unpin for ScoredEntry
impl UnsafeUnpin for ScoredEntry
impl UnwindSafe for ScoredEntry
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