mirror of
https://github.com/darkicewolf50/RustBrock.git
synced 2025-06-16 05:24:17 -06:00
started ch10
This commit is contained in:
parent
2767435f47
commit
d87328a5fc
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.
|
Loading…
x
Reference in New Issue
Block a user