XiLaiTL/moobile/vendor/rabbita/slotmap does not have a README file

    type Id derive(Compare, Eq, Hash)

    SlotMap

    type SlotMap[T]

    SlotMap::SlotMap

    fn[T] SlotMap::SlotMap() -> SlotMap[T]

    SlotMap::allocate

    fn[T] SlotMap::allocate(arena : SlotMap[T]) -> Id

    SlotMap::allocate_with

    fn[T] SlotMap::allocate_with(arena : SlotMap[T], f : (Id) -> T) -> Id

    SlotMap::free

    fn[T] SlotMap::free(arena : SlotMap[T], id : Id) -> Unit

    SlotMap::get

    fn[T] SlotMap::get(arena : SlotMap[T], id : Id) -> T?

    SlotMap::read

    #alias("_[_]")
    fn[T] SlotMap::read(arena : SlotMap[T], id : Id) -> T

    SlotMap::write

    #alias("_[_]=_")
    fn[T] SlotMap::write(arena : SlotMap[T], id : Id, value : T) -> Unit

    Source Files