Trait memory_units::ByteSize
[−]
[src]
pub trait ByteSize { const BYTE_SIZE: Bytes; }
A trait defining the size, in bytes, of one unit of Self
.
Example
println!("The size of one word in bytes is {}.", Words::BYTE_SIZE.0);