dextool v4.0.0 (2021-09-08T15:39:18Z)
Dub
Repo
NullableCache
dextool
cachetools
Undocumented in source.
struct
NullableCache (
K
V
alias
getValue
) {
import
std
.
typecons
:
Nullable
;
;
import
cachetools
:
CacheLRU
;
;
CacheLRU
!(
K
,
V
)
cache
;
this
(CacheLRU!(K, V) cache, int size, Duration ttl);
~this
();
auto
get
(K k);
auto
opCall
(K k);
}
Constructors
this
this
(CacheLRU!(K, V) cache, int size, Duration ttl)
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
get
auto
get
(K k)
Undocumented in source. Be warned that the author may not have intended to support it.
opCall
auto
opCall
(K k)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
cache
CacheLRU
!(
K
,
V
)
cache
;
Undocumented in source.
Meta
Source
See Implementation
dextool
cachetools
functions
cacheToolsRequire
nullableCache
require
structs
NullableCache