pub struct StreamingVoxelConfig { /* private fields */ }Expand description
Configuration for deterministic, spill-backed global voxel centroids.
Implementations§
Source§impl StreamingVoxelConfig
impl StreamingVoxelConfig
Sourcepub fn new(
leaf_size: f32,
run_points: usize,
max_runs: usize,
spool: SpoolOptions,
) -> RecordsResult<Self>
pub fn new( leaf_size: f32, run_points: usize, max_runs: usize, spool: SpoolOptions, ) -> RecordsResult<Self>
Creates a configuration with positive leaf size, run capacity, and run limit.
Sourcepub const fn run_points(&self) -> usize
pub const fn run_points(&self) -> usize
Returns the maximum points sorted in one in-memory run.
Sourcepub const fn spool(&self) -> &SpoolOptions
pub const fn spool(&self) -> &SpoolOptions
Returns the global disk spool contract.
Trait Implementations§
Source§impl Clone for StreamingVoxelConfig
impl Clone for StreamingVoxelConfig
Source§fn clone(&self) -> StreamingVoxelConfig
fn clone(&self) -> StreamingVoxelConfig
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 moreSource§impl Debug for StreamingVoxelConfig
impl Debug for StreamingVoxelConfig
Source§impl PartialEq for StreamingVoxelConfig
impl PartialEq for StreamingVoxelConfig
Source§fn eq(&self, other: &StreamingVoxelConfig) -> bool
fn eq(&self, other: &StreamingVoxelConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StreamingVoxelConfig
impl StructuralPartialEq for StreamingVoxelConfig
Auto Trait Implementations§
impl Freeze for StreamingVoxelConfig
impl RefUnwindSafe for StreamingVoxelConfig
impl Send for StreamingVoxelConfig
impl Sync for StreamingVoxelConfig
impl Unpin for StreamingVoxelConfig
impl UnsafeUnpin for StreamingVoxelConfig
impl UnwindSafe for StreamingVoxelConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more