pub const fn align_down(val: usize, alignment: usize) -> usizeExpand description
Returns the largest value smaller or equal to val that is a multiple of alignment.
You may use this together with page_size to align your regions for committing/decommitting.
alignment must be a power of two (which implies that it must be non-zero).