pub struct FactAux {
pub id: FactId,
pub tags: ListHandle,
pub meta: BlobId,
}Expand description
Per-fact auxiliary record: the tag-list handle and the optional metadata
blob (20-byte slot, Uniform arena; layout
[id 4 | ListHandle 12 | meta 4]).
Split from FactRecord so the hot 48-byte record stays hot: tags and
metadata are touched only by tag-filtered queries, show/export and
maintain.
Fields§
§id: FactIdFact id — the key.
The fact’s tag list (TermId values) in the tag ChunkPool.
meta: BlobIdThe fact’s metadata blob in the metas heap (a canonical key→value
encoding, see [crate::metadata]), or BlobId(NONE_U32) when
the fact carries no metadata. The engine never interprets the bytes.
Trait Implementations§
impl Copy for FactAux
impl Eq for FactAux
Source§impl Slot for FactAux
impl Slot for FactAux
impl StructuralPartialEq for FactAux
Auto Trait Implementations§
impl Freeze for FactAux
impl RefUnwindSafe for FactAux
impl Send for FactAux
impl Sync for FactAux
impl Unpin for FactAux
impl UnsafeUnpin for FactAux
impl UnwindSafe for FactAux
Blanket Implementations§
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