pub trait NativeIndex<Data = f32, Radius = f32>: Index<Data, Radius> {
type Inner;
// Required method
fn inner_ptr(&self) -> *mut Self::Inner;
}Expand description
Sub-trait for native implementations of a Faiss index.
Anything that implements NativeIndex should provide which native
index (i.e. one of FaissIndex or FaissIndexBinary) can be it
represented as.