#[repr(C, align(16))]pub struct DeltaNQuin {
pub subject_id: u32,
pub predicate_op: u16,
pub salience_qp: u8,
pub medium_branch: u8,
pub delta_pos: [f32; 3],
pub delta_vel_packed: [u16; 4],
pub rot_or_sh_delta: u32,
pub context_cell: u32,
pub lamport_epoch: u32,
pub dirty_tile_mask: u32,
pub ecc_parity: u32,
}Expand description
48-byte DeltaNQuin Super-Quin representation for GPU/CPU zero-copy delta streams.
Layout: 12 words of u32 = 48 bytes, aligned to 16 bytes.
Fields§
§subject_id: u32§predicate_op: u16§salience_qp: u8§medium_branch: u8§delta_pos: [f32; 3]§delta_vel_packed: [u16; 4]§rot_or_sh_delta: u32§context_cell: u32§lamport_epoch: u32§dirty_tile_mask: u32§ecc_parity: u32Implementations§
Source§impl DeltaNQuin
impl DeltaNQuin
Sourcepub fn new_transform_delta(
subject_id: u32,
context_cell: u32,
delta_pos: [f32; 3],
vel_mps: [f32; 3],
lod_scale: f32,
epoch: u32,
) -> Self
pub fn new_transform_delta( subject_id: u32, context_cell: u32, delta_pos: [f32; 3], vel_mps: [f32; 3], lod_scale: f32, epoch: u32, ) -> Self
Constructs a transform delta for an entity.
Sourcepub fn new_optical_isolation(
cell_id: u32,
affected_tiles_bitmask: u32,
epoch: u32,
) -> Self
pub fn new_optical_isolation( cell_id: u32, affected_tiles_bitmask: u32, epoch: u32, ) -> Self
Constructs an N3Logic optical isolation bitmask delta.
Sourcepub fn compute_parity(&self) -> u32
pub fn compute_parity(&self) -> u32
Computes XOR folding parity across all fields.
Sourcepub fn is_parity_valid(&self) -> bool
pub fn is_parity_valid(&self) -> bool
Verifies data integrity via XOR parity fold.
Trait Implementations§
Source§impl Clone for DeltaNQuin
impl Clone for DeltaNQuin
impl Copy for DeltaNQuin
Source§impl Debug for DeltaNQuin
impl Debug for DeltaNQuin
Source§impl Default for DeltaNQuin
impl Default for DeltaNQuin
Source§impl PartialEq for DeltaNQuin
impl PartialEq for DeltaNQuin
impl Pod for DeltaNQuin
impl StructuralPartialEq for DeltaNQuin
Auto Trait Implementations§
impl Freeze for DeltaNQuin
impl RefUnwindSafe for DeltaNQuin
impl Send for DeltaNQuin
impl Sync for DeltaNQuin
impl Unpin for DeltaNQuin
impl UnsafeUnpin for DeltaNQuin
impl UnwindSafe for DeltaNQuin
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.