#[repr(C, align(64))]pub struct Q42ConstituentLutEntry {Show 22 fields
pub albedo_rgb_f16: [u16; 3],
pub roughness_f16: u16,
pub kubelka_munk_k_s: [u16; 2],
pub refractive_index_x100: u16,
pub bulk_density_kg_m3: u16,
pub porosity_pct: u8,
pub friction_angle_deg: u8,
pub cohesion_kpa: u16,
pub youngs_modulus_mpa: u16,
pub poissons_ratio_x100: u8,
pub _pad0: u8,
pub permeability_darcy_x100: u16,
pub suction_head_mm: u16,
pub van_genuchten_n_x100: u16,
pub dielectric_permittivity_x100: u16,
pub electrical_conductivity_ms_m: u16,
pub acoustic_p_wave_m_s: u16,
pub ceremonial_permission_mask: u32,
pub canonical_q42_material_hash: u64,
pub provenance_did_hash: u64,
pub _reserved: [u8; 4],
pub entry_crc32c: u32,
}Expand description
Fixed 64-Byte Constituent Look-Up Table Entry.
Fields§
§albedo_rgb_f16: [u16; 3]6B: Diffuse albedo in linear RGB (f16 half-floats).
roughness_f16: u162B: Surface microfacet roughness (f16 half-float).
kubelka_munk_k_s: [u16; 2]4B: Kubelka-Munk absorption (K) and scattering (S) coefficients (f16).
refractive_index_x100: u162B: Real refractive index n * 100 (e.g. 154 = 1.54 for Quartz).
bulk_density_kg_m3: u162B: Solid grain density in kg/m³ (e.g. 2650 for Quartz, 1000 for Water).
porosity_pct: u81B: Material porosity ratio φ (0..100%).
friction_angle_deg: u81B: Internal friction angle φ_friction in degrees (e.g. 34° for sand).
cohesion_kpa: u162B: Mohr-Coulomb cohesion c in kPa (e.g. 0 for sand, 25 for stiff clay).
youngs_modulus_mpa: u162B: Young’s Modulus E in MPa (e.g. 35000 MPa for granite).
poissons_ratio_x100: u81B: Poisson’s ratio ν * 100 (e.g. 25 = 0.25).
_pad0: u81B: Padding for alignment.
permeability_darcy_x100: u162B: Hydraulic permeability κ in 0.01 Darcy units (e.g. 150 = 1.50 Darcy).
suction_head_mm: u162B: Capillary suction head in mm.
van_genuchten_n_x100: u162B: van Genuchten empirical exponent n * 100.
dielectric_permittivity_x100: u162B: Real relative dielectric permittivity ε_r * 100 (e.g. 450 = 4.5 for quartz).
electrical_conductivity_ms_m: u162B: Electrical conductivity in mS/m.
acoustic_p_wave_m_s: u162B: Biot poroelastic P-wave acoustic velocity in m/s.
ceremonial_permission_mask: u324B: Biocultural/ceremonial permissions & customary access mask.
canonical_q42_material_hash: u648B: Canonical FNV-1a hash of the did:q42 mineral/material IRI.
provenance_did_hash: u648B: FNV-1a hash of the provenance DID / author custodian.
_reserved: [u8; 4]4B: Explicit zero reserved.
entry_crc32c: u324B: CRC-32C checksum of bytes 0..59 (Total = 64B).
Implementations§
Source§impl Q42ConstituentLutEntry
impl Q42ConstituentLutEntry
Sourcepub fn compute_crc32c(&self) -> u32
pub fn compute_crc32c(&self) -> u32
Compute the CRC-32C over the first 60 bytes of the record.
Sourcepub fn update_crc(&mut self)
pub fn update_crc(&mut self)
Update entry_crc32c with the computed CRC-32C.
Trait Implementations§
Source§impl Clone for Q42ConstituentLutEntry
impl Clone for Q42ConstituentLutEntry
impl Copy for Q42ConstituentLutEntry
Source§impl Debug for Q42ConstituentLutEntry
impl Debug for Q42ConstituentLutEntry
Source§impl Default for Q42ConstituentLutEntry
impl Default for Q42ConstituentLutEntry
Source§impl PartialEq for Q42ConstituentLutEntry
impl PartialEq for Q42ConstituentLutEntry
impl Pod for Q42ConstituentLutEntry
impl StructuralPartialEq for Q42ConstituentLutEntry
Auto Trait Implementations§
impl Freeze for Q42ConstituentLutEntry
impl RefUnwindSafe for Q42ConstituentLutEntry
impl Send for Q42ConstituentLutEntry
impl Sync for Q42ConstituentLutEntry
impl Unpin for Q42ConstituentLutEntry
impl UnsafeUnpin for Q42ConstituentLutEntry
impl UnwindSafe for Q42ConstituentLutEntry
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>,
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
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
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> ⓘ
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> ⓘ
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 more