annoy
library
Typedefs
-
FreeAnnoyIndex
= void Function(Pointer<NativeType>)
-
-
FreeAnnoyIndexNative
= Void Function(Pointer<NativeType>)
-
fn free_annoy_index(index: *const AnnoyIndex)
-
FreeSearchResult
= void Function(Pointer<NativeType>)
-
-
FreeSearchResultNative
= Void Function(Pointer<NativeType>)
-
fn free_search_result(search_result_ptr: *const AnnoyIndexSearchResult)
-
GetDimension
= int Function(Pointer<NativeType>)
-
-
GetDimensionNative
= Int32 Function(Pointer<NativeType>)
-
fn get_dimension(index_ptr: *const AnnoyIndex) -> i32
-
GetDistanceList
= Pointer<Float> Function(Pointer<NativeType>)
-
-
GetDistanceListNative
= Pointer<Float> Function(Pointer<NativeType>)
-
fn get_distance_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const f32
-
GetIdList
= Pointer<Uint64> Function(Pointer<NativeType>)
-
-
GetIdListNative
= Pointer<Uint64> Function(Pointer<NativeType>)
-
fn get_id_list(search_result_ptr: *const AnnoyIndexSearchResult)->*const u64
-
GetItemVector
= void Function(Pointer<NativeType>, int, Pointer<Float>)
-
-
GetItemVectorNative
= Void Function(Pointer<NativeType>, Uint64, Pointer<Float>)
-
fn get_item_vector(index_ptr: *const AnnoyIndex, item_index: u64, item_vector: *mut f32)
-
GetNearest
= Pointer<NativeType> Function(Pointer<NativeType>, Pointer<Float>, int, int, int)
-
-
GetNearestNative
= Pointer<NativeType> Function(Pointer<NativeType>, Pointer<Float>, Uint32, Int32, Uint8)
-
fn get_nearest(
-
GetNearestToItem
= Pointer<NativeType> Function(Pointer<NativeType>, int, int, int, int)
-
-
GetNearestToItemNative
= Pointer<NativeType> Function(Pointer<NativeType>, Uint64, Uint32, Int32, Uint8)
-
fn get_nearest_to_item(
-
GetResultCount
= int Function(Pointer<NativeType>)
-
-
GetResultCountNative
= Uint64 Function(Pointer<NativeType>)
-
fn get_result_count(search_result_ptr: *const AnnoyIndexSearchResult) -> u64
-
GetSize
= int Function(Pointer<NativeType>)
-
-
GetSizeNative
= Uint64 Function(Pointer<NativeType>)
-
fn get_size(index_ptr: *const AnnoyIndex) -> u64
-
LoadAnnoyIndex
= Pointer<NativeType> Function(Pointer<Utf8>, int, int)
-
-
LoadAnnoyIndexNative
= Pointer<NativeType> Function(Pointer<Utf8>, Int32, Uint8)
-
fn load_annoy_index(path: *const c_char, dimension: i32, index_type: u8) -> *const AnnoyIndex