align_up

Function align_up 

Source
pub fn align_up<U: Unsigned>(align: U, v: U) -> U
Expand description

Align up the given value with the given align.

Note: The given align must be a power of 2.