pub struct StoreConfig { /* private fields */ }Expand description
Minimal configuration for a Store.
Power users who need control over dimension, grid resolution, or other
internals should use HTTStorage directly.
Implementations§
Source§impl StoreConfig
impl StoreConfig
Sourcepub fn capacity(self, n: usize) -> Self
pub fn capacity(self, n: usize) -> Self
Set the expected number of in-memory nodes.
Advisory only: this sizes internal caches; it does not enforce a
limit. Inserts beyond capacity succeed and the store grows unbounded.
Sourcepub fn tau(self, t: FixedPoint) -> Self
pub fn tau(self, t: FixedPoint) -> Self
Set the Sarkar embedding scale factor τ.
Controls the hyperbolic distance between parent and child nodes. Default is 1.0. Smaller values allow deeper trees within the same Q64.64 precision budget; larger values give better angular separation between siblings.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StoreConfig
impl RefUnwindSafe for StoreConfig
impl Send for StoreConfig
impl Sync for StoreConfig
impl Unpin for StoreConfig
impl UnsafeUnpin for StoreConfig
impl UnwindSafe for StoreConfig
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