Function x86_64::addr::align_down
source · [−]Expand description
Align address downwards.
Returns the greatest x
with alignment align
so that x <= addr
.
Panics if the alignment is not a power of two. Without the const_fn
feature, the panic message will be “index out of bounds”.