mirror of
https://github.com/darkicewolf50/RustBrock.git
synced 2025-07-07 03:27:13 -06:00
started ch10
This commit is contained in:
11
Generic Types Traits and Lifetimes.md
Normal file
11
Generic Types Traits and Lifetimes.md
Normal file
@ -0,0 +1,11 @@
|
||||
# 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.
|
Reference in New Issue
Block a user