pub unsafe trait Zero: Copy { }Expand description
This trait signifies that [0; size_of::<T>] is transmutable
to a valid T safely, and that T fits some concept of ‘zero’.
§Safety
The set of zero bytes the size of Self should be a valid value
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.