mir-core ~master (2021-10-18T16:44:50Z)
Dub
Repo
Algebraic.trustedGet
mir
algebraic
Algebraic
Zero cost always nothrow
get
alternative
auto ref
trustedGet
()
template
trustedGet
(RetTypes...)
alias
trustedGet
(
Kind
kind
)
=
trustedGet
!(
AllowedTypes
[
kind
])
auto ref
trustedGet
()
struct
Algebraic
(_Types...)
ref @
trusted
@
property
return inout nothrow
auto ref
trustedGet
(
E
)
(
)
if
(
is
(
E
==
T
)
)
Meta
Source
See Implementation
mir
algebraic
Algebraic
aliases
AllowedTypes
_ID_
constructors
this
destructors
~this
enums
Kind
functions
_is
get
isNull
kind
nullify
opAssign
opCast
opCmp
opEquals
toHash
toString
trustedGet
postblits
this(this)
static functions
_void
variables
_identifier_
Zero cost always nothrow get alternative