Function std::mem::align_ofStable[src]

pub fn align_of<T>() -> uint

Returns the alignment in memory for a type.

This function will return the alignment, in bytes, of a type in memory. If the alignment returned is adhered to, then the type is guaranteed to function properly.