pub struct HashGridConfig {
pub n_levels: usize,
pub n_features_per_level: usize,
pub log2_hashmap_size: usize,
pub base_resolution: usize,
pub max_resolution: usize,
}Expand description
Configuration for the multi-resolution hash grid.
Fields§
§n_levels: usizeL — number of resolution levels (typical: 16).
n_features_per_level: usizeF — number of features per hash-table entry (typical: 2).
log2_hashmap_size: usizelog2(T) where T = 2^this is the number of hash buckets (typical: 19 → T=524288).
base_resolution: usizeN_min — base (coarsest) grid resolution (typical: 16).
max_resolution: usizeN_max — finest grid resolution (typical: 2048).
Trait Implementations§
Source§impl Clone for HashGridConfig
impl Clone for HashGridConfig
Source§fn clone(&self) -> HashGridConfig
fn clone(&self) -> HashGridConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HashGridConfig
impl RefUnwindSafe for HashGridConfig
impl Send for HashGridConfig
impl Sync for HashGridConfig
impl Unpin for HashGridConfig
impl UnsafeUnpin for HashGridConfig
impl UnwindSafe for HashGridConfig
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