From 865701787c2f1751f03812fd30358a484cb34eaf Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Sun, 15 Dec 2013 15:19:18 -0800 Subject: [PATCH] doc: Update the documentation to describe the `Pod` trait. --- doc/rust.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/rust.md b/doc/rust.md index aa4ce002e021..489a10bb87c4 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -3329,6 +3329,12 @@ The kinds are: This kind includes scalars, owning pointers, owned closures, and structural types containing only other owned types. All `Send` types are `'static`. +`Pod` + : Types of this kind consist of "Plain Old Data" + which can be copied by simply moving bits. + All values of this kind can be implicitly copied. + This kind includes scalars and immutable references, + as well as structural types containing other `Pod` types. `'static` : Types of this kind do not contain any borrowed pointers; this can be a useful guarantee for code