sbin ~master (2021-09-16T14:18:39Z)
Dub
Repo
hasCustomRepr
sbin
type
template
hasCustomRepr (
T
RH
=
EmptyReprHandler
) {
import
sbin
.
serialize
:
sbinSerialize
;
;
alias
Repr
=
ReturnType
!(() =>
T
.
init
.
sbinCustomRepr
)
;
static if
(
hasMember!(T, "sbinCustomRepr") && hasMember!(T, "sbinFromCustomRepr")
)
enum
hasCustomRepr
;
static if
(!(
hasMember!(T, "sbinCustomRepr") && hasMember!(T, "sbinFromCustomRepr")
))
enum
hasCustomRepr
;
}
Members
Aliases
Repr
alias
Repr
=
ReturnType
!(() =>
T
.
init
.
sbinCustomRepr
)
Undocumented in source.
Manifest constants
hasCustomRepr
enum
hasCustomRepr
;
Undocumented in source.
hasCustomRepr
enum
hasCustomRepr
;
Undocumented in source.
Meta
Source
See Implementation
sbin
type
aliases
pack
sumtype
enums
sbinSkip
functions
getEnumNum
getTaggedAllTags
getTaggedTag
unpack
structs
vlint
vluint
templates
EnumNumType
TaggedTagType
TaggedTypeByTag
hasCustomRepr
isTagged
isVoidArray
taggedMatch