is_aligned

Function is_aligned 

Source
pub fn is_aligned<T>(ptr: *const T, alignment: usize) -> bool
Expand description

Check if a pointer is aligned to the given alignment