pub const OptionalIndex = enum(u32)
An index into extra, or null.
extra
null
pub fn unwrap(this: @This()) ?Index
1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524
pub const OptionalIndex = enum(u32) { none = max_u32, _, pub fn unwrap(this: @This()) ?Index { return switch (this) { .none => null, else => @fromBackingInt(@intCast(@backingInt(this))), }; } }
An index into
extra, ornull.