#[repr(C)]pub struct VoxelSectionMiniHeader {
pub magic: [u8; 4],
pub version: u16,
pub flags: u16,
pub node_count: u32,
pub stride: u32,
pub root_node_index: u32,
pub max_depth: u16,
pub _pad: u16,
pub aabb_min: [f32; 3],
pub aabb_max: [f32; 3],
pub voxel_resolution_mm: f32,
pub _reserved: [u8; 12],
}Expand description
64-Byte POD Mini Header for SectionType::VoxelLattice (22).
Fields§
§magic: [u8; 4]4B: ASCII magic bytes “VOX0”.
version: u162B: Section version (1).
flags: u162B: Feature flags (e.g. compact DAG vs octree).
node_count: u324B: Total count of 16-byte Vox0DagNode records.
stride: u324B: Stride of each node record in bytes (16).
root_node_index: u324B: Array index of the root node.
max_depth: u162B: Maximum tree depth.
_pad: u162B: Explicit padding.
aabb_min: [f32; 3]12B: Minimum spatial bounding box in local millimeters.
aabb_max: [f32; 3]12B: Maximum spatial bounding box in local millimeters.
voxel_resolution_mm: f324B: Leaf voxel spatial resolution in millimeters.
_reserved: [u8; 12]12B: Reserved padding to reach 64 bytes.
Trait Implementations§
Source§impl Clone for VoxelSectionMiniHeader
impl Clone for VoxelSectionMiniHeader
impl Copy for VoxelSectionMiniHeader
Source§impl Debug for VoxelSectionMiniHeader
impl Debug for VoxelSectionMiniHeader
Source§impl Default for VoxelSectionMiniHeader
impl Default for VoxelSectionMiniHeader
Source§impl PartialEq for VoxelSectionMiniHeader
impl PartialEq for VoxelSectionMiniHeader
impl Pod for VoxelSectionMiniHeader
impl StructuralPartialEq for VoxelSectionMiniHeader
Auto Trait Implementations§
impl Freeze for VoxelSectionMiniHeader
impl RefUnwindSafe for VoxelSectionMiniHeader
impl Send for VoxelSectionMiniHeader
impl Sync for VoxelSectionMiniHeader
impl Unpin for VoxelSectionMiniHeader
impl UnsafeUnpin for VoxelSectionMiniHeader
impl UnwindSafe for VoxelSectionMiniHeader
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> NoUninit for Twhere
T: Pod,
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.