Function foyer_common::bits::align_up
source ยท pub fn align_up<U: Unsigned>(align: U, v: U) -> UExpand description
Align up the given value with the given align.
Note: The given align must be a power of 2.
pub fn align_up<U: Unsigned>(align: U, v: U) -> UAlign up the given value with the given align.
Note: The given align must be a power of 2.