Function fress::map::size [−][src]
pub fn size(unit_count: u32) -> u32
Expand description
Sizes a unit count to a power of two.
With BITS as 5, it returns 8, 16, 32, 64.
pub fn size(unit_count: u32) -> u32
Sizes a unit count to a power of two.
With BITS as 5, it returns 8, 16, 32, 64.