#[repr(C)]pub struct SemanticTextSlot {
pub token: u64,
pub logical_position: u64,
pub kind: u64,
pub provenance: u64,
pub valid: u64,
pub committed: u64,
pub recomputed: u64,
pub provenance_record: u64,
}Expand description
Original active-ring source slot. Kind and provenance are independent: a filled model-input row is not an assertion that the token was observed.
Fields§
§token: u64§logical_position: u64§kind: u64Padding = 0, filled = 1, mask = 2. Active validity is derived from kind.
provenance: u64Absent = 0, source = 1, generated = 2; only filled rows have a subtype.
valid: u64§committed: u64§recomputed: u64§provenance_record: u64Row in the retained full source-provenance table, not an authority bit.
Trait Implementations§
Source§impl Clone for SemanticTextSlot
impl Clone for SemanticTextSlot
Source§fn clone(&self) -> SemanticTextSlot
fn clone(&self) -> SemanticTextSlot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemanticTextSlot
Source§impl Debug for SemanticTextSlot
impl Debug for SemanticTextSlot
Source§impl Default for SemanticTextSlot
impl Default for SemanticTextSlot
Source§fn default() -> SemanticTextSlot
fn default() -> SemanticTextSlot
Returns the “default value” for a type. Read more
impl DeviceRepr for SemanticTextSlot
impl Eq for SemanticTextSlot
Source§impl PartialEq for SemanticTextSlot
impl PartialEq for SemanticTextSlot
impl StructuralPartialEq for SemanticTextSlot
Auto Trait Implementations§
impl Freeze for SemanticTextSlot
impl RefUnwindSafe for SemanticTextSlot
impl Send for SemanticTextSlot
impl Sync for SemanticTextSlot
impl Unpin for SemanticTextSlot
impl UnsafeUnpin for SemanticTextSlot
impl UnwindSafe for SemanticTextSlot
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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