·rust-pin
</>

rust-pin

huiali/rust-skills

Pin 与自引用类型专家。处理 Pin, Unpin, self-referential, Future, async, Generator, Pinning projection 等问题。触发词:Pin, Unpin, self-referential, Future, async, Generator, 自引用, Pinning

3Installs·0Trend·@huiali

Installation

$npx skills add https://github.com/huiali/rust-skills --skill rust-pin

SKILL.md

| Pin | 借用,值不移动 | Pin | | Pin | 可变借用 | Pin | | Pin > | Box 包裹 | Pin > | | Pin > | Arc 包裹 | Pin > |

| 忘记 Pin | future 可能被移动 | 正确传递 Pin | | projection 错误 | 借用规则违反 | unsafe getuncheckedmut | | 误用 Unpin | 跨 await 保持指针 | 理解 future 结构 |

| async {} 块 | ✅ 需要 | | Box | ✅ 需要 | | 互斥锁内的 Future | ✅ 需要 | | 普通 Vec | ❌ 不需要 | | 栈上变量 | ❌ 不需要 | | 没有自引用的 struct | ❌ 不需要 |

Pin 与自引用类型专家。处理 Pin, Unpin, self-referential, Future, async, Generator, Pinning projection 等问题。触发词:Pin, Unpin, self-referential, Future, async, Generator, 自引用, Pinning Source: huiali/rust-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/huiali/rust-skills --skill rust-pin
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is rust-pin?

Pin 与自引用类型专家。处理 Pin, Unpin, self-referential, Future, async, Generator, Pinning projection 等问题。触发词:Pin, Unpin, self-referential, Future, async, Generator, 自引用, Pinning Source: huiali/rust-skills.

How do I install rust-pin?

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-pin 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