Function mz_ore::bits::align_up

source ·
pub const fn align_up<const N: usize>(p: usize) -> usize
Expand description

Increases p as little as possible (including possibly 0) such that it becomes a multiple of N.