tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
GetLabel
tagion
hibon
HiBONRecord
Gets the label for HiBON member
template
GetLabel (
alias
member
) {
import
std
.
traits
:
getUDAs
,
hasUDA
;
;
import
std
.
traits
:
getUDAs
,
hasUDA
;
;
static if
(
hasUDA!(member, label)
)
enum
_label
;
static if
(
hasUDA!(member, label)
)
static if
(
_label.name == VOID
)
enum
GetLabel
;
static if
(
hasUDA!(member, label)
)
static if
(!(
_label.name == VOID
))
enum
GetLabel
;
static if
(!(
hasUDA!(member, label)
))
enum
GetLabel
;
}
Members
Manifest constants
GetLabel
enum
GetLabel
;
Undocumented in source.
GetLabel
enum
GetLabel
;
Undocumented in source.
GetLabel
enum
GetLabel
;
Undocumented in source.
_label
enum
_label
;
Undocumented in source.
Parameters
member
is the member alias
Meta
Source
See Implementation
tagion
hibon
HiBONRecord
aliases
DocResult
enums
HiBONPrefix
isHiBON
isHiBONRecord
isHiBONTypeArray
functions
getType
hasHashKey
isRecord
isStub
manifest constants
STUB
TYPENAME
VOID
mixin templates
HiBONRecord
HiBONRecordType
structs
exclude
filter
fixed
inspect
label
optional
recordType
templates
GetLabel
isSpecialKeyType
Gets the label for HiBON member