Struct faiss_sys::FaissBuffer
source · #[repr(C)]pub struct FaissBuffer {
pub ids: *mut idx_t,
pub dis: *mut f32,
}
Expand description
List of temporary buffers used to store results before they are copied to the RangeSearchResult object.
Fields§
§ids: *mut idx_t
§dis: *mut f32
Trait Implementations§
source§impl Clone for FaissBuffer
impl Clone for FaissBuffer
source§fn clone(&self) -> FaissBuffer
fn clone(&self) -> FaissBuffer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FaissBuffer
impl Debug for FaissBuffer
impl Copy for FaissBuffer
Auto Trait Implementations§
impl RefUnwindSafe for FaissBuffer
impl !Send for FaissBuffer
impl !Sync for FaissBuffer
impl Unpin for FaissBuffer
impl UnwindSafe for FaissBuffer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more