pub enum Vector {
Dense(VectorValues),
Sparse {
num_dimensions: u32,
indices: Vec<u32>,
values: VectorValues,
},
}Expand description
A decoded VECTOR value: either dense (values only) or sparse (a dimension count plus parallel index/value arrays of the non-zero entries).
Variants§
Trait Implementations§
impl StructuralPartialEq for Vector
Auto Trait Implementations§
impl Freeze for Vector
impl RefUnwindSafe for Vector
impl Send for Vector
impl Sync for Vector
impl Unpin for Vector
impl UnsafeUnpin for Vector
impl UnwindSafe for Vector
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