pub fn align_to_arch(
val: ArchitectureSize,
align: Alignment,
) -> ArchitectureSize
Expand description
Increase val
to a multiple of align
, with special handling for pointers;
align
must be a power of two or Alignment::Pointer
pub fn align_to_arch(
val: ArchitectureSize,
align: Alignment,
) -> ArchitectureSize
Increase val
to a multiple of align
, with special handling for pointers;
align
must be a power of two or Alignment::Pointer