pub unsafe trait NoUndef { }Expand description
A type with no undefined bytes.
§Safety
The bytes of types implementing NoUndef must always be well-defined. Among
other things, this means that NoUndef types may not contain padding or
uninitialized MaybeUninits.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".