Skip to main content

align_up

Function 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.