Trait NoUndef
pub unsafe trait NoUndef { }
Available on crate feature
dep_rkyv
only.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 MaybeUninit
s.