Docs.rs
cure-engine-0.1.6
cure-engine 0.1.6
Docs.rs crate page
MIT
11 October 2026
Links
Repository
crates.io
Source
Owners
ejfkdev
Dependencies
Versions
58.16%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module walk
cure_
engine
0.1.6
Module walk
Module Items
Structs
Functions
Type Aliases
In crate cure_
engine
cure_engine
Module
walk
Copy item path
Source
Expand description
迭代式遍历(显式栈,避免深树递归爆栈),并收集父指针表。
Structs
§
IdHasher
稠密整数句柄的快速定长 hasher(FxHash 风格):
L::Id
的 Hash 实现 通常只写一个 u32/u64,Sip13 的全量安全哈希在这里纯属浪费。 冲突安全性由 HashMap 的探测保证,这里只提供廉价混合。
Walk
先序遍历的快照:id 列表 + 每个非根节点的 (parent, child_index)。
Functions
§
walk
Type Aliases
§
IdBuild
StrSet
字符串集合(规则热路径):同一快速 hasher。 借用字符串集合(规则热路径):键借自 AST,零分配。