StaticLRUCache.set

Cache value at key. Updates the value if key is already in the cache. This marks the item as recently used.

  1. Value set(Key key, Value value)
    struct StaticLRUCache(Key, Value, size_t cacheSize)
    ref return pure nothrow @safe @nogc
    Value
    set
    (
    Key key
    ,
    Value value
    )
  2. Value set(Key key, Func update)

Meta