pub struct ResolvedSchema { /* private fields */ }Expand description
Immutable pure resolution result.
Implementations§
Source§impl ResolvedSchema
impl ResolvedSchema
Sourcepub const fn declared_identity_fingerprint(
&self,
) -> &DeclaredIdentityFingerprint
pub const fn declared_identity_fingerprint( &self, ) -> &DeclaredIdentityFingerprint
Return the unchanged direct-declaration identity.
Sourcepub const fn semantic_fingerprint(&self) -> &SemanticSchemaFingerprint
pub const fn semantic_fingerprint(&self) -> &SemanticSchemaFingerprint
Return canonical direct semantics under the selected profile.
Sourcepub const fn types(&self) -> &BTreeMap<TypeId, ResolvedType>
pub const fn types(&self) -> &BTreeMap<TypeId, ResolvedType>
Return resolved types by stable identity.
Sourcepub const fn roles(&self) -> &BTreeMap<RoleId, ResolvedRole>
pub const fn roles(&self) -> &BTreeMap<RoleId, ResolvedRole>
Return resolved roles by declaring-role identity.
Sourcepub const fn functions(&self) -> &BTreeMap<FunctionId, ResolvedFunction>
pub const fn functions(&self) -> &BTreeMap<FunctionId, ResolvedFunction>
Return opaque resolved functions.
Sourcepub const fn structs(&self) -> &BTreeMap<StructId, ResolvedStruct>
pub const fn structs(&self) -> &BTreeMap<StructId, ResolvedStruct>
Return resolved structs in stable identity order.
Sourcepub const fn descriptor_index(&self) -> &DescriptorIndex
pub const fn descriptor_index(&self) -> &DescriptorIndex
Return stable direct-fact descriptors.
Sourcepub const fn dependency_graph(&self) -> &SchemaDependencyGraph
pub const fn dependency_graph(&self) -> &SchemaDependencyGraph
Return projection dependency SCCs.
Trait Implementations§
Source§impl Clone for ResolvedSchema
impl Clone for ResolvedSchema
Source§impl Debug for ResolvedSchema
impl Debug for ResolvedSchema
impl Eq for ResolvedSchema
Source§impl PartialEq for ResolvedSchema
impl PartialEq for ResolvedSchema
impl StructuralPartialEq for ResolvedSchema
Auto Trait Implementations§
impl Freeze for ResolvedSchema
impl RefUnwindSafe for ResolvedSchema
impl Send for ResolvedSchema
impl Sync for ResolvedSchema
impl Unpin for ResolvedSchema
impl UnsafeUnpin for ResolvedSchema
impl UnwindSafe for ResolvedSchema
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