Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

AnnotatedError
An annotated kernel error: primary error plus a list of notes.
ConfigNode
A hierarchical configuration tree.
Diagnostic
A kernel diagnostic: severity + message.
DiagnosticCollection
A collection of diagnostics.
ErrorAccumulator
An accumulator that collects multiple kernel errors.
ErrorContext
A builder for constructing detailed error messages.
ErrorNote
A single note attached to a kernel error, providing extra context.
ErrorReport
A structured error report.
Fixture
A simple mutable key-value store for test fixtures.
FlatSubstitution
A flat list of substitution pairs (from, to).
FocusStack
A mutable reference stack for tracking the current “focus” in a tree traversal.
LabelSet
A label set for a graph node.
MinHeap
A min-heap implemented as a binary heap.
NonEmptyVec
A non-empty list (at least one element guaranteed).
PathBuf
A reusable scratch buffer for path computations.
PhasedError
A phased error: kernel error associated with a compilation phase.
PrefixCounter
A trie-based prefix counter.
RawFnPtr
A type-erased function pointer with arity tracking.
RewriteRule
Represents a rewrite rule lhs → rhs.
RewriteRuleSet
A set of rewrite rules.
SimpleDag
A simple directed acyclic graph.
SlidingSum
A fixed-size sliding window that computes a running sum.
SmallMap
A simple key-value store backed by a sorted Vec for small maps.
SparseVec
A sparse vector: stores only non-default elements.
StackCalc
A simple stack-based calculator for arithmetic expressions.
StatSummary
A generic counter that tracks min/max/sum for statistical summaries.
Stopwatch
A counter that can measure elapsed time between snapshots.
StringPool
A pool of reusable string buffers.
TokenBucket
A token bucket rate limiter.
TransformStat
A pair of StatSummary values tracking before/after a transformation.
TransitiveClosure
A dependency closure builder (transitive closure via BFS).
VersionedRecord
A versioned record that stores a history of values.
WindowIterator
A window iterator that yields overlapping windows of size n.
WriteOnce
A write-once cell.

Enums§

DecisionNode
A simple decision tree node for rule dispatching.
Either2
A tagged union for representing a simple two-case discriminated union.
ErrorCategory
High-level category of a kernel error, useful for structured handling.
KernelError
Errors that can occur during kernel type checking.
KernelPhase
A phase label for grouping errors.
Severity
Severity of a kernel diagnostic.