-
Rust용어] Zero Sized Types (ZSTs)코딩Coding/Rust용어 2022. 5. 29. 21:47728x90
https://doc.rust-lang.org/nomicon/exotic-sizes.html#dynamically-sized-types-dsts
Exotically Sized Types - The Rustonomicon
Most of the time, we expect types to have a statically known and positive size. This isn't always the case in Rust. Rust supports Dynamically Sized Types (DSTs): types without a statically known size or alignment. On the surface, this is a bit nonsensical:
doc.rust-lang.org
반응형'코딩Coding > Rust용어' 카테고리의 다른 글
pid(Process ID) / tid(Thread ID) (0) 2023.04.14 스텁(stub) (0) 2023.03.06 Rust용어] first첫번째 변수를 의미함, rest 첫번째를 뺀 나머지 변수들__split_first_mut() 할 때 나오는 용어 (0) 2022.05.29 rust용어]src = source / dest = destination (0) 2022.05.29 Rust용어]ABI, Application Binary Interface (ABI) (0) 2022.05.17 coding용어) aggregation (0) 2022.04.05 Rust용어)Type Inference:(타입_추론)Hindley-Milner in Rust-Reddit (0) 2022.02.07 Rust용어)Type annotation (0) 2022.02.04