Function isAlignedAnyAlign [src]
Prototype
pub fn isAlignedAnyAlign(i: usize, alignment: usize) bool
Parameters
i: usize
alignment: usize
Source
pub fn isAlignedAnyAlign(i: usize, alignment: usize) bool {
if (isValidAlign(alignment))
return isAligned(i, alignment);
assert(alignment != 0);
return 0 == @mod(i, alignment);
}