rust-zero-cost
✓零成本抽象与泛型专family。处理泛型, trait, monomorphization, static dispatch, 동적 디스패치, impl Trait, dyn Trait, 泛型, 特征, 单态化, 零成本抽象
SKILL.md
| 特性 | 泛型 (static dispatch) | trait object (dynamic dispatch) |
| 性能 | 零开销 | vtable 查找 | | 代码大小 | 可能膨胀 | 更小 | | 编译时间 | 更长 | 更短 | | 灵活性 | 类型必须已知 | 运行时决定 | | 异构集合 | 不支持 | Vec > |
| E0277 | 缺少 trait bound | 添加 T: Trait | | E0038 | trait object 不安全 | 检查对象安全规则 | | E0308 | 类型不匹配 | 统一类型或用泛型 | | E0599 | 未找到实现 | 实现 trait 或检查约束 |
零成本抽象与泛型专family。处理泛型, trait, monomorphization, static dispatch, 동적 디스패치, impl Trait, dyn Trait, 泛型, 特征, 单态化, 零成本抽象 출처: huiali/rust-skills.
인용 가능한 정보
AI/검색 인용용 안정적인 필드와 명령어.
- 설치 명령어
npx skills add https://github.com/huiali/rust-skills --skill rust-zero-cost- 카테고리
- </>개발 도구
- 인증됨
- ✓
- 최초 등록
- 2026-02-01
- 업데이트
- 2026-02-18
빠른 답변
rust-zero-cost이란?
零成本抽象与泛型专family。处理泛型, trait, monomorphization, static dispatch, 동적 디스패치, impl Trait, dyn Trait, 泛型, 特征, 单态化, 零成本抽象 출처: huiali/rust-skills.
rust-zero-cost 설치 방법은?
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/huiali/rust-skills --skill rust-zero-cost 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다
소스 저장소는 어디인가요?
https://github.com/huiali/rust-skills
상세
- 카테고리
- </>개발 도구
- 출처
- skills.sh
- 최초 등록
- 2026-02-01