Luna::Variant::erase
void erase(usize i)
Removes one child variant from the current variant.
Parameters
-
in i
The index of the child variant to remove.
Valid Usage
-
The current variant must be an array variant.
-
i
must be smaller than size.