Rust Types

Rust type system design — generics, traits, dispatch, newtypes, typestate, PhantomData. Use when designing type-safe APIs, encountering E0277/E0308/E0599/E0038, choosing between static and dynamic dispatch, or implementing sealed traits and parse-don't-validate patterns. Also use when working with generic bounds, trait objects, newtype wrappers, or making invalid states unrepresentable through the type system.

dawidpereira Updated 0 repo stars

File contents

dawidpereira/rust-skills commit 538d9b8b08

Frequently asked questions

npx get-skill add dawidpereira/rust-types