Trait faiss::index::NativeIndex

source ·
pub trait NativeIndex: Index {
    // Required method
    fn inner_ptr(&self) -> *mut FaissIndex;
}
Expand description

Sub-trait for native implementations of a Faiss index.

Required Methods§

source

fn inner_ptr(&self) -> *mut FaissIndex

Retrieve a pointer to the native index object.

Implementations on Foreign Types§

source§

impl<NI: NativeIndex> NativeIndex for Box<NI>

Implementors§