#[non_exhaustive]pub struct HierarchyEntry {
pub key: VoxelKey,
pub offset: u64,
pub byte_size: u32,
pub point_count: u32,
}Expand description
A single hierarchy entry: metadata for one octree node.
The key is duplicated from the hierarchy map for convenience when
passing entries around without the map key.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key: VoxelKeyThe octree node this entry describes.
offset: u64Absolute file offset to the compressed point data.
byte_size: u32Size of compressed data in bytes.
point_count: u32Number of points in this node.
Trait Implementations§
Source§impl Clone for HierarchyEntry
impl Clone for HierarchyEntry
Source§fn clone(&self) -> HierarchyEntry
fn clone(&self) -> HierarchyEntry
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 moreAuto Trait Implementations§
impl Freeze for HierarchyEntry
impl RefUnwindSafe for HierarchyEntry
impl Send for HierarchyEntry
impl Sync for HierarchyEntry
impl Unpin for HierarchyEntry
impl UnsafeUnpin for HierarchyEntry
impl UnwindSafe for HierarchyEntry
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