Module hnsw_rs::libext [−][src]
Expand description
This file contains lib to call hnsw from julia (or any language providing a C api)
The AnnT trait is implemented with macros for u32, u16, u8, f32, f64 and i32.
The macro declare_myapi_type! produces struct HnswApif32 and so on.
Structs
This structure provides a light description of the graph to be passed to C compatible languages.
The basic Neighbour info returned by api
The response to a neighbour search requests
to be able to return a vector from rust in a julia struct before converting to a julia Vector
Functions
to initialize rust logging from Julia
returns a const pointer to a DescriptionFFI from a dump file, given filename length and pointer (*const u8)
search nb_vec of size vec_len. The the searches will be done in // as far as possible.
search nb_vec of size vec_len. The the searches will be done in // as far as possible.
search nb_vec of size vec_len. The the searches will be done in // as far as possible.
search nb_vec of size vec_len. The the searches will be done in // as far as possible.
search nb_vec of size vec_len. The the searches will be done in // as far as possible.