rust-zero-cost
✓零成本抽象与泛型专家。处理泛型, trait, monomorphization, static dispatch, dynamic dispatch, impl Trait, dyn Trait, 泛型, 特征, 单态化, 零成本抽象
Installation
SKILL.md
| 特性 | 泛型 (static dispatch) | trait object (dynamic dispatch) |
| 性能 | 零开销 | vtable 查找 | | 代码大小 | 可能膨胀 | 更小 | | 编译时间 | 更长 | 更短 | | 灵活性 | 类型必须已知 | 运行时决定 | | 异构集合 | 不支持 | Vec > |
| E0277 | 缺少 trait bound | 添加 T: Trait | | E0038 | trait object 不安全 | 检查对象安全规则 | | E0308 | 类型不匹配 | 统一类型或用泛型 | | E0599 | 未找到实现 | 实现 trait 或检查约束 |
零成本抽象与泛型专家。处理泛型, trait, monomorphization, static dispatch, dynamic dispatch, impl Trait, dyn Trait, 泛型, 特征, 单态化, 零成本抽象 Source: huiali/rust-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/huiali/rust-skills --skill rust-zero-cost- Source
- huiali/rust-skills
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is rust-zero-cost?
零成本抽象与泛型专家。处理泛型, trait, monomorphization, static dispatch, dynamic dispatch, impl Trait, dyn Trait, 泛型, 特征, 单态化, 零成本抽象 Source: huiali/rust-skills.
How do I install rust-zero-cost?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huiali/rust-skills --skill rust-zero-cost Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/huiali/rust-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01