HybridHashMap.keyOf

Get key part of element.

  1. inout(K) keyOf(inout(SomeElement) element)
    struct HybridHashMap(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), Allocator = Mallocator, Options options = Options.init)
    pragma(inline, true) static
    static if(hasValue)
    inout(K)
    keyOf
    (
    SomeElement
    )
    (
    scope inout(SomeElement) element
    )
    if (
    isAllocator!Allocator
    )
  2. inout(K) keyOf(inout(SomeElement) element)
  3. inout(K) keyOf(inout(KeyValueType) element)
  4. inout(SomeElement) keyOf(inout(SomeElement) element)

Meta