·rust-resource
</>

rust-resource

huiali/rust-skills

Box, Rc, Arc, Weak, RefCell, Cell, 내부 가변성, RAII, Drop, 堆分配, 引用计数, 智能指针

4설치·0트렌드·@huiali

설치

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

SKILL.md

| Box | 单 owner | Yes | 堆分配、递归类型、trait object | | Rc | 共享 | No | 单线程共享、避免 clone | | Arc | 共享 | Yes | 多线程共享、只读数据 | | Weak | 弱引用 | - | 打破循环引用 | | RefCell | 单 owner | No | 运行时借用检查 | | Cell | 单 owner | No | Copy 类型的内部可变性 |

| 大量小对象 | Rc::makemut() 避免 clone | | 频繁读取 | RwLock 比 Mutex 更好 | | 计数器 | 用 AtomicU64 而非 Mutex | | 缓存 | 考虑 moka 或 cached crate |

Box, Rc, Arc, Weak, RefCell, Cell, 내부 가변성, RAII, Drop, 堆分配, 引用计数, 智能指针 출처: huiali/rust-skills.

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/huiali/rust-skills --skill rust-resource 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다

원본 보기

인용 가능한 정보

AI/검색 인용용 안정적인 필드와 명령어.

설치 명령어
npx skills add https://github.com/huiali/rust-skills --skill rust-resource
카테고리
</>개발 도구
인증됨
최초 등록
2026-02-01
업데이트
2026-02-18

빠른 답변

rust-resource이란?

Box, Rc, Arc, Weak, RefCell, Cell, 내부 가변성, RAII, Drop, 堆分配, 引用计数, 智能指针 출처: huiali/rust-skills.

rust-resource 설치 방법은?

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/huiali/rust-skills --skill rust-resource 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다

소스 저장소는 어디인가요?

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

상세

카테고리
</>개발 도구
출처
skills.sh
최초 등록
2026-02-01