pub struct ResolutionKeyProjection { /* private fields */ }Expand description
Parser-owned canonical keys ready for runtime entity/relation binding.
Implementations§
Source§impl ResolutionKeyProjection
impl ResolutionKeyProjection
Sourcepub fn retained_bytes(&self) -> u64
pub fn retained_bytes(&self) -> u64
Count owned vector capacities, canonical text, and source-proof sidecars.
Inline projection metadata is charged by its containing map or owner.
Sourcepub const fn empty() -> Self
pub const fn empty() -> Self
Construct an empty projection when one parser graph has no admissible canonical identity keys. Entity and relation rows can still be staged; the graph publication layer records the rejected key provenance.
Sourcepub fn source_keys(&self) -> &[CanonicalResolutionKey]
pub fn source_keys(&self) -> &[CanonicalResolutionKey]
Borrow module keys exported by the source file itself.
Sourcepub fn symbol_keys(&self) -> &[SymbolResolutionKeys]
pub fn symbol_keys(&self) -> &[SymbolResolutionKeys]
Borrow symbol-index-associated export keys.
Sourcepub fn export_lookup_vector_bytes(&self) -> u64
pub fn export_lookup_vector_bytes(&self) -> u64
Estimate retained lookup vector metadata separately from canonical key text.
Sourcepub fn export_keys(&self) -> &[ExportResolutionKeys]
pub fn export_keys(&self) -> &[ExportResolutionKeys]
Borrow separately bounded lookup keys owned by explicit source export slots.
Sourcepub fn relation_keys(&self) -> &[RelationResolutionKeys]
pub fn relation_keys(&self) -> &[RelationResolutionKeys]
Borrow relation-index-associated dependency keys.
Sourcepub fn source_calls(&self) -> Option<&[SourceCallFact]>
pub fn source_calls(&self) -> Option<&[SourceCallFact]>
Borrow source-owned call policies, including an explicitly empty proof set.
Sourcepub fn source_calls_retained_bytes(&self) -> u64
pub fn source_calls_retained_bytes(&self) -> u64
Estimate retained call-policy vector and payload capacities, including shared sets.
Sourcepub fn source_span(&self, relation: usize) -> Option<SourceSpan>
pub fn source_span(&self, relation: usize) -> Option<SourceSpan>
Return exact source coordinates only for the corresponding admitted relation.
Sourcepub fn source_spans_retained_bytes(&self) -> u64
pub fn source_spans_retained_bytes(&self) -> u64
Account conservative retained coordinate map rows, excluding inline map metadata.
Sourcepub fn rust_toolchain_imports(
&self,
) -> Option<&BTreeMap<usize, Option<ImportReference>>>
pub fn rust_toolchain_imports( &self, ) -> Option<&BTreeMap<usize, Option<ImportReference>>>
Borrow source-proven Rust import ownership, including explicit non-toolchain rows.
Sourcepub fn rust_toolchain_imports_retained_bytes(&self) -> u64
pub fn rust_toolchain_imports_retained_bytes(&self) -> u64
Account the bounded Rust import policy map and its owned canonical paths.
Trait Implementations§
Source§impl Clone for ResolutionKeyProjection
impl Clone for ResolutionKeyProjection
Source§fn clone(&self) -> ResolutionKeyProjection
fn clone(&self) -> ResolutionKeyProjection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ResolutionKeyProjection
impl Debug for ResolutionKeyProjection
impl Eq for ResolutionKeyProjection
Source§impl PartialEq for ResolutionKeyProjection
impl PartialEq for ResolutionKeyProjection
Source§fn eq(&self, other: &ResolutionKeyProjection) -> bool
fn eq(&self, other: &ResolutionKeyProjection) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolutionKeyProjection
Auto Trait Implementations§
impl Freeze for ResolutionKeyProjection
impl RefUnwindSafe for ResolutionKeyProjection
impl Send for ResolutionKeyProjection
impl Sync for ResolutionKeyProjection
impl Unpin for ResolutionKeyProjection
impl UnsafeUnpin for ResolutionKeyProjection
impl UnwindSafe for ResolutionKeyProjection
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
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
key and return true if they are equal.