-
(Rust용어)More Lifetime Elision코딩Coding/Rust용어 2020. 9. 20. 10:09728x90
https://doc.rust-lang.org/beta/nomicon/lifetime-elision.html
Lifetime Elision - The Rustonomicon
In order to make common patterns more ergonomic, Rust allows lifetimes to be elided in function signatures. A lifetime position is anywhere you can write a lifetime in a type: &'a T &'a mut T T<'a> Lifetime positions can appear as either "input" or "output
doc.rust-lang.org
반응형'코딩Coding > Rust용어' 카테고리의 다른 글
Rust용어_New module system/Module / Crate (0) 2020.09.20 Rust용어_impl Trait for returning complex type with ease. (0) 2020.09.20 Rust용어_dyn Trait for trait objects- The Edition Guide (0) 2020.09.20 Rust용어)Non-lexical lifetimes (0) 2020.09.20 Rust용어)Default match binding (0) 2020.09.20 (Rust용어) inference 추론처리 (0) 2020.09.20 증분 컴파일러(incremental compiler) (0) 2020.09.20 (Coding용어)알로케이터(allocator) (0) 2020.09.20