Function isValidAlign [src]

Returns whether alignment is a valid alignment, meaning it is a positive power of 2.

Prototype

pub fn isValidAlign(alignment: usize) bool

Parameters

alignment: usize

Source

pub fn isValidAlign(alignment: usize) bool { return isValidAlignGeneric(usize, alignment); }