pub struct SpaceEntry {
pub space_index: u8,
pub name: String,
pub dim: u32,
pub dtype: u8,
pub model_hash: String,
pub n_vectors: u64,
}Expand description
one row of the 0x15 table. space_index addresses the band: the
vectors live at section 0x20 + space_index (and the optional fp source
at 0x30 + space_index). model_hash fingerprints the model that
produced THIS space’s vectors.
Fields§
§space_index: u8§name: String§dim: u32§dtype: u8§model_hash: String§n_vectors: u64Implementations§
Trait Implementations§
Source§impl Clone for SpaceEntry
impl Clone for SpaceEntry
Source§impl Debug for SpaceEntry
impl Debug for SpaceEntry
impl Eq for SpaceEntry
Source§impl PartialEq for SpaceEntry
impl PartialEq for SpaceEntry
impl StructuralPartialEq for SpaceEntry
Auto Trait Implementations§
impl Freeze for SpaceEntry
impl RefUnwindSafe for SpaceEntry
impl Send for SpaceEntry
impl Sync for SpaceEntry
impl Unpin for SpaceEntry
impl UnsafeUnpin for SpaceEntry
impl UnwindSafe for SpaceEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.