pub unsafe trait Pod: Copy { }Expand description
Types a RawBuf may be viewed as: fixed layout, any bit pattern valid.
§Safety
Implementors must be repr(C) or primitive, contain no padding that a
read could observe as uninit (the arena zeroes blocks, so padding reads
see zero), and tolerate every bit pattern.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".