pub const fn u8_align_up(addr: u8, align: u8) -> u8Expand description
Align address upwards.
Returns the smallest x with alignment align so that x >= addr.
Panics if the alignment is not a power of two or if an overflow occurs.
This is a const version of Align::align_up.