The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Algebraic.trustedGet
mir
algebraic
Algebraic
trustedGet
overload that accept
.Algebraic.Kind
.
auto ref
trustedGet
()
template
trustedGet
(RetTypes...)
alias
trustedGet
(
Kind
kind
)
=
trustedGet
!(
AllowedTypes
[
kind
])
import mir.algebraic;
struct
Algebraic
(T__...)
static if
(
typeFieldNames__.length
)
alias
trustedGet
(
Kind
kind
)
=
trustedGet
!(
AllowedTypes
[
kind
])
alias
trustedGet
(
immutable
(
char
)[]
kind
)
=
trustedGet
!(
__traits
(
getMember
,
Kind
,
kind
))
auto ref
trustedGet
()
Meta
Source
See Implementation
mir
algebraic
Algebraic
aliases
AllowedTypes
constructors
this
enums
Kind
functions
_is
get
isNull
isOk
kind
nullify
opAssign
opCast
opCmp
opEquals
opSlice
toHash
toString
trustedGet
static functions
_void
static variables
metaFieldNames__
typeFieldNames__
trustedGet overload that accept .Algebraic.Kind.