pub struct VoxelKey {
pub level: i32,
pub x: i32,
pub y: i32,
pub z: i32,
}Expand description
Octree node key: (level, x, y, z).
All fields are i32 to match the COPC wire format. level is always
non-negative in practice; x, y, z are signed per the spec.
Fields§
§level: i32Octree depth (0 = root).
x: i32X coordinate at this level.
y: i32Y coordinate at this level.
z: i32Z coordinate at this level.
Implementations§
Trait Implementations§
impl Copy for VoxelKey
impl Eq for VoxelKey
impl StructuralPartialEq for VoxelKey
Auto Trait Implementations§
impl Freeze for VoxelKey
impl RefUnwindSafe for VoxelKey
impl Send for VoxelKey
impl Sync for VoxelKey
impl Unpin for VoxelKey
impl UnsafeUnpin for VoxelKey
impl UnwindSafe for VoxelKey
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