pub unsafe trait Unit:
Copy
+ Send
+ Sync
+ 'static { }Expand description
A type through which walks move items: an unsigned integer, or an array of two, with the size and alignment of the item types that use it.
§Safety
Every bit pattern of the type’s size is a value of it, so the bytes of any item read as a unit give a valid unit.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".