#[non_exhaustive]pub struct SparseColumn { /* private fields */ }Expand description
The sparse vectors of a DocColumns batch: row i’s terms
are terms[offsets[i]..offsets[i + 1]] with the weights beside them. A
row that is not valid has no sparse vector; a valid row with no terms
has an empty one.
Implementations§
Trait Implementations§
Source§impl Clone for SparseColumn
impl Clone for SparseColumn
Source§impl Debug for SparseColumn
impl Debug for SparseColumn
Source§impl PartialEq for SparseColumn
impl PartialEq for SparseColumn
impl StructuralPartialEq for SparseColumn
Auto Trait Implementations§
impl Forget for SparseColumn
impl Freeze for SparseColumn
impl Move for SparseColumn
impl RefUnwindSafe for SparseColumn
impl Send for SparseColumn
impl Sync for SparseColumn
impl Unpin for SparseColumn
impl UnsafeUnpin for SparseColumn
impl UnwindSafe for SparseColumn
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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