pub struct VoxelSegments {
pub keys: Vec<(i64, i64, i64)>,
pub point_indices: Vec<u32>,
pub cell_starts: Vec<u32>,
pub cell_counts: Vec<u32>,
}Expand description
Sorted voxel cell segments derived from per-point grid keys.
Fields§
§keys: Vec<(i64, i64, i64)>Unique voxel keys in sorted order.
point_indices: Vec<u32>Point indices sorted by voxel key.
cell_starts: Vec<u32>Start offset into point_indices for each cell.
cell_counts: Vec<u32>Number of points in each cell.
Implementations§
Trait Implementations§
Source§impl Clone for VoxelSegments
impl Clone for VoxelSegments
Source§fn clone(&self) -> VoxelSegments
fn clone(&self) -> VoxelSegments
Returns a duplicate of the value. Read more
1.0.0 · 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 VoxelSegments
impl Debug for VoxelSegments
Source§impl PartialEq for VoxelSegments
impl PartialEq for VoxelSegments
impl Eq for VoxelSegments
impl StructuralPartialEq for VoxelSegments
Auto Trait Implementations§
impl Freeze for VoxelSegments
impl RefUnwindSafe for VoxelSegments
impl Send for VoxelSegments
impl Sync for VoxelSegments
impl Unpin for VoxelSegments
impl UnsafeUnpin for VoxelSegments
impl UnwindSafe for VoxelSegments
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