pub struct MaterialBinding {
pub container_blake3: [u8; 32],
pub material_table_blake3: [u8; 32],
pub table_schema_revision: u16,
pub table_epoch_id: u16,
pub material_frame_id: u32,
pub field_frame_id: u32,
pub transform: CoordinateTransform4x4,
pub entries: Vec<MaterialEntryIdentity>,
}Expand description
Schema 105 (MaterialBinding) cryptographic binding between an EMF/QAC field stream and an
.m64 container + BankedConstituentLut material table.
Fields§
§container_blake3: [u8; 32]Full 256-bit BLAKE3 digest of the .m64 container bytes.
material_table_blake3: [u8; 32]Full 256-bit BLAKE3 digest of the 16-KB BankedConstituentLut (as_gpu_bytes()).
table_schema_revision: u16Schema revision of the material table (must be 1).
table_epoch_id: u16Active Bank 1 recipe epoch ID (active_bank_1_epoch_id).
material_frame_id: u32Coordinate frame ID of the .m64 matter container.
field_frame_id: u32Coordinate frame ID of the consuming EMF/QAC field stream.
transform: CoordinateTransform4x4Explicit coordinate frame transform from material_frame_id to field_frame_id.
entries: Vec<MaterialEntryIdentity>Declared material entry identities (indexed by 1..=entries.len() for 1-based material_entry).
Implementations§
Source§impl MaterialBinding
impl MaterialBinding
Sourcepub fn verify_and_resolve_entry(
&self,
m64_container_bytes: &[u8],
m64_limits: M64ReadLimits,
m64_scratch: &mut [M64PayloadInterval],
lut: &BankedConstituentLut,
actual_table_schema_revision: u16,
one_based_entry_index: u32,
eval_clock: &RationalClock,
eval_instant: &RationalInstant,
) -> Result<VerifiedBoundMaterial, MaterialBindingError>
pub fn verify_and_resolve_entry( &self, m64_container_bytes: &[u8], m64_limits: M64ReadLimits, m64_scratch: &mut [M64PayloadInterval], lut: &BankedConstituentLut, actual_table_schema_revision: u16, one_based_entry_index: u32, eval_clock: &RationalClock, eval_instant: &RationalInstant, ) -> Result<VerifiedBoundMaterial, MaterialBindingError>
Verify the complete cryptographic, epoch, frame, and clock binding against raw .m64
container bytes and a BankedConstituentLut, returning the verified Q42ConstituentLutEntry
for the 1-based one_based_entry_index.
Trait Implementations§
Source§impl Clone for MaterialBinding
impl Clone for MaterialBinding
Source§impl Debug for MaterialBinding
impl Debug for MaterialBinding
Source§impl PartialEq for MaterialBinding
impl PartialEq for MaterialBinding
impl StructuralPartialEq for MaterialBinding
Auto Trait Implementations§
impl Freeze for MaterialBinding
impl RefUnwindSafe for MaterialBinding
impl Send for MaterialBinding
impl Sync for MaterialBinding
impl Unpin for MaterialBinding
impl UnsafeUnpin for MaterialBinding
impl UnwindSafe for MaterialBinding
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>,
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
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> ⓘ
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