pub fn unwrap(this: @This()) ?Index this: @This()1631
1632
1633
1634
1635
1636
1637 pub fn unwrap(this: @This()) ?Index {
return switch (this) {
.none => null,
.root => .root,
_ => @fromBackingInt(@intCast(@backingInt(this))),
};
}