pub struct MaterializedPostingCursor { /* private fields */ }Implementations§
Source§impl MaterializedPostingCursor
impl MaterializedPostingCursor
pub fn new(entries: Vec<PostingScore>) -> StorageBackendResult<Self>
Trait Implementations§
Source§impl Clone for MaterializedPostingCursor
impl Clone for MaterializedPostingCursor
Source§fn clone(&self) -> MaterializedPostingCursor
fn clone(&self) -> MaterializedPostingCursor
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 moreSource§impl PostingCursor for MaterializedPostingCursor
impl PostingCursor for MaterializedPostingCursor
fn doc_freq(&self) -> u64
fn ordinal(&self) -> u64
fn current(&self) -> Option<PostingScore>
fn advance(&mut self) -> StorageBackendResult<Option<PostingScore>>
fn advance_to( &mut self, target: DocId, ) -> StorageBackendResult<Option<PostingScore>>
fn boxed_clone(&self) -> Box<dyn PostingCursor>
Auto Trait Implementations§
impl Freeze for MaterializedPostingCursor
impl RefUnwindSafe for MaterializedPostingCursor
impl Send for MaterializedPostingCursor
impl Sync for MaterializedPostingCursor
impl Unpin for MaterializedPostingCursor
impl UnsafeUnpin for MaterializedPostingCursor
impl UnwindSafe for MaterializedPostingCursor
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