OpenHashMap.keyOf

Get key part.

  1. inout(K) keyOf(inout(SomeElement) element)
  2. inout(K) keyOf(inout(KeyValueType) element)
    struct OpenHashMap(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), alias Allocator = Mallocator.instance, bool borrowChecked = false, bool useSmallLinearSearch = true, bool usePrimeCapacity = false)
    static ref @trusted
    static if(hasValue)
    inout(K)
    keyOf
    ()
    (
    auto ref return scope inout(KeyValueType) element
    )
  3. inout(SomeElement) keyOf(inout(SomeElement) element)

Meta