DoxigAlpha

toByteUnits

Function parameters

Parameters

#

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#

= 16

Values

#

Source

Implementation

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