painlesstraits v0.3.0 (2016-11-09T02:21:20Z)
Home
Dub
Repo
hasValueAnnotation
painlesstraits
Undocumented in source.
template
hasValueAnnotation (
alias
f
alias
Attr
) {
import
std
.
typetuple
:
anySatisfy
,
TypeTuple
;
;
alias
allAnnotations
=
TypeTuple
!(
__traits
(
getAttributes
,
f
))
;
alias
hasMatch
(
alias
attr
)
=
Identity
!(
is
(
Attr
) &&
is
(
typeof
(
attr
) ==
Attr
))
;
enum
bool
hasValueAnnotation
;
}
Members
Aliases
allAnnotations
alias
allAnnotations
=
TypeTuple
!(
__traits
(
getAttributes
,
f
))
Undocumented in source.
hasMatch
alias
hasMatch
(
alias
attr
)
=
Identity
!(
is
(
Attr
) &&
is
(
typeof
(
attr
) ==
Attr
))
Undocumented in source.
Variables
hasValueAnnotation
enum
bool
hasValueAnnotation
;
Undocumented in source.
Meta
Source
See Implementation
painlesstraits
aliases
Identity
enums
AnyBazUDA
AnyFooUDA
AnyQuxUDA
structs
AnyBarUDA
templates
allPublicFields
allPublicFieldsOrProperties
getAnnotation
hasAnnotation
hasAnyOfTheseAnnotations
hasAnyOfTheseValueAnnotations
hasValueAnnotation
isField
isFieldOrProperty
variables
anyx
anyy
anyz