·rust-pin
</>

rust-pin

huiali/rust-skills

Pin, Unpin, self-referential, Future, async, Generator, Pinning Projektion

3Installationen·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, Unpin, self-referential, Future, async, Generator, Pinning Projektion Quelle: huiali/rust-skills.

Original anzeigen

Fakten (zitierbereit)

Stabile Felder und Befehle für KI/Such-Zitate.

Installationsbefehl
npx skills add https://github.com/huiali/rust-skills --skill rust-pin
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-01
Aktualisiert
2026-02-18

Schnelle Antworten

Was ist rust-pin?

Pin, Unpin, self-referential, Future, async, Generator, Pinning Projektion Quelle: huiali/rust-skills.

Wie installiere ich rust-pin?

Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/huiali/rust-skills --skill rust-pin Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code oder Cursor

Wo ist das Quell-Repository?

https://github.com/huiali/rust-skills