Function packed::is_aligned_for [] [src]

pub fn is_aligned_for<T, U>(ptr: *const U) -> bool

Determines whether a pointer or reference is correctly aligned for type T.