Skip to main content

align_up

Function align_up 

Source
pub const fn align_up<E>(offset: usize) -> usize
where E: Encode,
Expand description

Gets the padding at the given offset to the next multiple of [E::ALIGNMENT].