Skip to content

Commit 8657017

Browse files
committed
doc: Update the documentation to describe the Pod trait.
1 parent 36990df commit 8657017

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/rust.md

+6
Original file line numberDiff line numberDiff line change
@@ -3329,6 +3329,12 @@ The kinds are:
33293329
This kind includes scalars, owning pointers, owned closures, and
33303330
structural types containing only other owned types.
33313331
All `Send` types are `'static`.
3332+
`Pod`
3333+
: Types of this kind consist of "Plain Old Data"
3334+
which can be copied by simply moving bits.
3335+
All values of this kind can be implicitly copied.
3336+
This kind includes scalars and immutable references,
3337+
as well as structural types containing other `Pod` types.
33323338
`'static`
33333339
: Types of this kind do not contain any borrowed pointers;
33343340
this can be a useful guarantee for code

0 commit comments

Comments
 (0)