Function toByteUnits [src]

Prototype

pub fn toByteUnits(self: Alignment) ?u64

Parameters

self: Alignment

Source

pub fn toByteUnits(self: Alignment) ?u64 { return if (self == .default) null else @as(u64, 1) << @intFromEnum(self); }