Trait memory_units::ByteSize
source · [−]Expand description
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);
A trait defining the size, in bytes, of one unit of Self
.
println!("The size of one word in bytes is {}.", Words::byte_size().0);