[−][src]Function sunrise_libutils::align_down
pub fn align_down<T: Num + Not<Output = T> + BitAnd<Output = T> + Copy>(
addr: T,
align: T
) -> T
Align the address to the previous alignment.
The given number should be a power of two to get coherent results!
Panics
Panics on underflow if align is 0.