How to avoid having to write lifetime specifiers for simple free functions and methods, as they are inferred
Why lifetime specifiers are needed also for structs, tuple-structs, and enums containing references
How to write lifetime specifiers for structs, tuple-structs, and enums
Why structs containing references to generic parameters need lifetime bounds
Lifetime Elision
In the previous chapter, we saw that every function signature must specify, for each returned reference, whether that reference has a static lifetime or otherwise to which function arguments its lifetime ...