SSOHashMapOrSet.keyOf

Get key part of element.

  1. inout(K) keyOf(inout(T) element)
  2. inout(K) keyOf(inout(T) element)
    struct SSOHashMapOrSet(K, V = void, alias Allocator = null, alias hasher = hashOf, uint smallBinMinCapacity = 1, uint capacityScaleNumerator = 2, uint capacityScaleDenominator = 1)
    pragma(inline) pragma(inline, true) static ref
    inout(K)
    keyOf
    ()
    (
    auto ref return inout(T) element
    )
    if (
    smallBinMinCapacity >= 1
    )

Meta