Trait faiss::index::NativeIndex
source · pub trait NativeIndex: Index {
fn inner_ptr(&self) -> *mut FaissIndex;
}
Expand description
Sub-trait for native implementations of a Faiss index.
Required Methods§
sourcefn inner_ptr(&self) -> *mut FaissIndex
fn inner_ptr(&self) -> *mut FaissIndex
Retrieve a pointer to the native index object.