Expand description
Description of an integer memory element.
This trait provides information used to describe integer-typed regions of memory and enables other parts of the project to adequately describe the memory bus. This trait has no bearing on the processor instructions or registers used to interact with memory. It solely describes integers that can exist on a system.
This trait cannot be implemented outside this crate.
Associated Constants
The bit width of the integer.
mem::size_of
returns the size in bytes, and bytes are always eight
bits wide on architectures that Rust targets.
Issue #76904 will place this constant on the fundamental integers
directly, as a u32
.