Trait lrs::marker::Pod

Objects that are safe to use if they contain a random bit pattern.

Syntax

trait Pod : Copy

Remarks

That is, types without invariants. For example, immutable slices are not Pod for the same reason slice::from_ptr is not safe. Note that only structs and primitives can be Pod.