SSOHashMapOrSet.keyOf

Get key part of element.

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

Meta