pub struct Config { /* private fields */ }Expand description
Configuration state for index construction operations.
Implementations§
Source§impl Config
impl Config
Sourcepub fn try_from_builder(builder: Builder) -> Result<Self, ConfigError>
pub fn try_from_builder(builder: Builder) -> Result<Self, ConfigError>
Attempt to construct a Config from a builder.
See: Builder::build.
pub fn pruned_degree(&self) -> NonZeroUsize
pub fn max_degree(&self) -> NonZeroUsize
pub fn l_build(&self) -> NonZeroUsize
pub fn alpha(&self) -> f32
pub fn prune_kind(&self) -> PruneKind
pub fn max_occlusion_size(&self) -> NonZeroUsize
pub fn max_backedges(&self) -> NonZeroUsize
pub fn max_minibatch_par(&self) -> NonZeroUsize
pub fn intra_batch_candidates(&self) -> IntraBatchCandidates
pub fn saturate_after_prune(&self) -> bool
pub fn experimental_insert_retry(&self) -> Option<&InsertRetry>
pub fn pruned_degree_u32(&self) -> NonZeroU32
pub fn max_degree_u32(&self) -> NonZeroU32
pub fn l_build_u32(&self) -> NonZeroU32
pub fn max_occlusion_size_u32(&self) -> NonZeroU32
pub fn max_backedges_u32(&self) -> NonZeroU32
pub fn max_minibatch_par_u32(&self) -> NonZeroU32
Trait Implementations§
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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