tanya ~master (2021-06-04T07:37:50Z)
Dub
Repo
Bucket
tanya
container
entry
Undocumented in source.
package
struct
Bucket (
K
V
=
void
) {
static if
(
is(V == void)
)
K
key_
;
alias
KV
=
Tuple
!(
K
,
"key"
,
V
,
"value"
)
;
static if
(!(
is(V == void)
))
KV
kv
;
BucketStatus
status
;
this
(K key);
K
key
[@property setter];
inout
(
K
)
key
[@property getter];
void
moveKey
(K key);
bool
opEquals
(T key);
bool
opEquals
(const(typeof(this)) that);
void
remove
();
}
Constructors
this
this
(K key)
Undocumented in source.
Members
Aliases
KV
alias
KV
=
Tuple
!(
K
,
"key"
,
V
,
"value"
)
Undocumented in source.
Functions
moveKey
void
moveKey
(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool
opEquals
(T key)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool
opEquals
(const(typeof(this)) that)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void
remove
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
key
K
key
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
key
inout
(
K
)
key
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
key_
K
key_
;
Undocumented in source.
kv
KV
kv
;
Undocumented in source.
status
BucketStatus
status
;
Undocumented in source.
Meta
Source
See Implementation
tanya
container
entry
enums
BucketStatus
static variables
primes
structs
Bucket
DEntry
HashArray
SEntry