Skip to main content

rust-traits-generics

Canonical reference for Rust traits and generics: defining traits, default methods, impl Trait (argument and return position), generic type parameters, where clause bounds, trait bounds on structs vs impls, blanket impls, associated types vs generic type params, static dispatch via monomorphization, dynamic dispatch via dyn Trait / trait objects, object safety (E0038), unsatisfied bound errors (E0277), the orphan/coherence rule, From/Into/TryFrom conventions, marker traits (Copy, Send, Sync, Sized), and PhantomData. Auto-triggers when: adding a new trait definition, using dyn anywhere, returning impl Trait, implementing From/Into/TryFrom, hitting E0277 (trait bound not satisfied) or E0038 (trait not object-safe), or designing an abstraction that spans multiple concrete types. Use when this capability is needed.

설치로 이동

소스 정보

저장소
tomevault-io/skills-registry
최근 소스 활동
2026년 7월 3일 19:45
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.