pub struct DiskANNIndexOptions {
pub max_degree: Option<usize>,
pub build_list_size: Option<usize>,
pub search_list_size: Option<usize>,
pub alpha: Option<f64>,
pub beam_width: Option<usize>,
pub pq_bytes: Option<usize>,
pub seed: Option<u64>,
}Expand description
Raw options; Storage resolves defaults and validates them against the target dimension.
Fields§
§max_degree: Option<usize>§build_list_size: Option<usize>§search_list_size: Option<usize>§alpha: Option<f64>§beam_width: Option<usize>§pq_bytes: Option<usize>§seed: Option<u64>Trait Implementations§
Source§impl Debug for DiskANNIndexOptions
impl Debug for DiskANNIndexOptions
Source§impl Default for DiskANNIndexOptions
impl Default for DiskANNIndexOptions
Source§impl PartialEq for DiskANNIndexOptions
impl PartialEq for DiskANNIndexOptions
impl StructuralPartialEq for DiskANNIndexOptions
Auto Trait Implementations§
impl Freeze for DiskANNIndexOptions
impl RefUnwindSafe for DiskANNIndexOptions
impl Send for DiskANNIndexOptions
impl Sync for DiskANNIndexOptions
impl Unpin for DiskANNIndexOptions
impl UnsafeUnpin for DiskANNIndexOptions
impl UnwindSafe for DiskANNIndexOptions
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more