#[repr(C, align(16))]pub struct CellAnchor {
pub entity_hash: u64,
pub cell_index: u32,
pub anchor_domain: u8,
pub orientation_sign: i8,
pub material_or_stratum: u16,
}Expand description
16-byte cache-aligned anchor mapping a dense graph vertex u in 0..V_g
to both its host geometric k-cell AND its 64-bit NQuin semantic identity.
Fields§
§entity_hash: u6464-bit semantic identity (q_hash, did:q42, or RDF-Star TAG_EMBEDDED virtual ID; 0 if pure geometric).
cell_index: u32Index into the host Geometry’s k-cell table (vertices, half_edges, faces, mixed_cells, oct_nodes).
anchor_domain: u8AnchorDomain discriminant (0=0-cell, 1=1-cell, 2=2-cell, 3=3-cell, 4=k-simplex, 0xFF=pure NQuin).
orientation_sign: i8Orientation / incidence sign (+1, -1, or 0) for DEC cochain / boundary coupling.
material_or_stratum: u16Sub-layer / stratum / material group tag.
Implementations§
Source§impl CellAnchor
impl CellAnchor
pub const fn domain(&self) -> Option<AnchorDomain>
Trait Implementations§
Source§impl Clone for CellAnchor
impl Clone for CellAnchor
impl Copy for CellAnchor
Source§impl Debug for CellAnchor
impl Debug for CellAnchor
Source§impl Default for CellAnchor
impl Default for CellAnchor
Source§impl<'de> Deserialize<'de> for CellAnchor
impl<'de> Deserialize<'de> for CellAnchor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CellAnchor
Source§impl PartialEq for CellAnchor
impl PartialEq for CellAnchor
impl Pod for CellAnchor
Source§impl Serialize for CellAnchor
impl Serialize for CellAnchor
impl StructuralPartialEq for CellAnchor
Auto Trait Implementations§
impl Freeze for CellAnchor
impl RefUnwindSafe for CellAnchor
impl Send for CellAnchor
impl Sync for CellAnchor
impl Unpin for CellAnchor
impl UnsafeUnpin for CellAnchor
impl UnwindSafe for CellAnchor
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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.