Function memory_addr::align_down
source · pub const fn align_down(addr: usize, align: usize) -> usizeExpand description
Align address downwards.
Returns the greatest x with alignment align so that x <= addr.
The alignment must be a power of two.