RustBrock/Generic Types Traits and Lifetimes.md
2025-01-27 23:53:10 +00:00

377 B

Generic Types, Traits, and Lifetimes

Generics

A tools for effectively handling the duplication of concepts.

One of these tools is generics

They are abstract stand-ins for concrete types or other properties

We can express the behavior of generics or how they relate to other generics without knowing what type that will be in plcae when copiling and running the code.