struct EntityProjection {
entity_by_digest: BTreeMap<String, GraphEntity>,
owners_by_graph: BTreeMap<String, GraphOwners>,
keys_by_graph: BTreeMap<String, ResolutionKeyProjection>,
entity_exports: Vec<EntityResolutionKey>,
retained_bytes: u64,
}Expand description
Entity/key facts prepared before relation resolution.
Fields§
§entity_by_digest: BTreeMap<String, GraphEntity>Entities keyed by their compact digest for collision-safe lookup.
owners_by_graph: BTreeMap<String, GraphOwners>File and symbol owners keyed by parser graph path.
keys_by_graph: BTreeMap<String, ResolutionKeyProjection>Canonical resolution-key projections keyed by parser graph path.
entity_exports: Vec<EntityResolutionKey>Canonical resolution keys exported by staged entities.
retained_bytes: u64Conservative bytes retained by entities and export keys.
Auto Trait Implementations§
impl Freeze for EntityProjection
impl RefUnwindSafe for EntityProjection
impl Send for EntityProjection
impl Sync for EntityProjection
impl Unpin for EntityProjection
impl UnwindSafe for EntityProjection
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more