Skip to main content

Crate sim_lib_class

Crate sim_lib_class 

Source
Expand description

Concrete language-neutral class semantics for SIM.

This crate deliberately begins with an executable semantic boundary. The inventory prevents neighboring object models from being mistaken for class inheritance, while characterization scenarios freeze the behavior that the checked descriptor implementation must preserve.

Structs§

C3Policy
CacheAccess
Inspectable evidence for one cache access.
CacheRevisions
Parent and member revisions observed for one class.
CharacterizationScenario
One canonical scenario. canonical is the complete stable capture payload.
ClassCache
A bounded managed class universe with non-retaining derived caches.
ClassDescriptor
Immutable class metadata after construction-time validation.
ClassDescriptorInput
Unchecked input consumed exactly once by ClassDescriptor::new.
ClassIdentity
Stable identity carried by a class declaration or parent reference.
ClassRoot
A strong root for a managed class.
DeclaredOrderPolicy
DerivedClassView
A cached class linearization and its root-first derived member view.
DescriptorClass
A checked descriptor exposed as an ordinary kernel class object.
ExclusionReason
Structured reason an adjacent model cannot implement declared class parents.
LineageBudget
Independent admission limits for a lineage computation.
MemberShape
One named member and the Shape promised for its value.
OpenMetadataEntry
Open metadata: unknown keys are retained rather than interpreted here.
PrecedenceConstraint
The precedence rule made impossible by a C3 merge.
ReadConstruction
Checked read-construct metadata.
SnapshotGraph
Immutable computation snapshot; public only as the policy trait’s graph parameter.
SubclassEvidence
Evidence retained for every bounded subclass query.

Enums§

CacheAccessKind
Whether an access reused or recomputed a derived value.
CacheError
Failure from checked class-cache mutation or computation.
CandidateDisposition
How this crate treats a candidate implementation.
CandidateModel
Candidate semantics examined before assigning concrete class ownership.
ClassDescriptorError
Exact construction failure, retaining the offending declaration name.
DeclaredParent
A declared parent, explicitly separated by resolution state.
ExpectedOutcome
FailureMode
LineageError
Exact, inspectable failure evidence from a lineage policy.
ParentMeaning
Exact meaning that an edge or declaration has in a candidate model.
ScenarioKind
SemanticDomain
The semantic domain actually governed by a candidate model.
SubclassQuery
Result of a subclass query, including exact exhaustion evidence.

Traits§

ClassConstructor
Construction behavior supplied by the language or library declaring a class.
LineageGraph
A loader-neutral view of declared class parents.
LineagePolicy
Pluggable class-linearization policy.

Functions§

candidate_inventory
characterization_scenarios
exclusion_ledger
non_goals
scenario_content_id
Stable 256-bit identity over the schema, id, input, and expected observation.