godot-d v0.1.1 (2018-11-04T13:23:39Z)
Dub
Repo
Variant.variantTypeOf
godot
core
variant
Variant
Get the Variant.Type of a compatible D type. Incompatible types return nil.
struct
Variant
@
nogc
nothrow
template
variantTypeOf (
T
) {
public
import
std
.
traits
,
godot
;
;
public
import
std
.
traits
,
godot
;
;
@
nogc
nothrow
static if
(
directlyCompatible!T
)
enum
Type
variantTypeOf
;
@
nogc
nothrow
static if
(!(
directlyCompatible!T
))
static if
(
convertsToGodot!T
)
enum
Type
variantTypeOf
;
@
nogc
nothrow
static if
(!(
directlyCompatible!T
))
static if
(!(
convertsToGodot!T
))
enum
Type
variantTypeOf
;
}
Public Imports
std.traits
public
import
std
.
traits
,
godot
;
Undocumented in source.
godot
public
import
std
.
traits
,
godot
;
Undocumented in source.
Members
Variables
variantTypeOf
enum
Type
variantTypeOf
;
Undocumented in source.
variantTypeOf
enum
Type
variantTypeOf
;
Undocumented in source.
variantTypeOf
enum
Type
variantTypeOf
;
Undocumented in source.
Meta
Source
See Implementation
godot
core
variant
Variant
aliases
DType
InternalType
conversionFromGodotType
conversionToGodotType
constructors
this
destructors
~this
enums
Operator
Type
functions
as
booleanize
opAssign
opCmp
opEquals
toString
type
postblits
this(this)
static functions
nil
templates
compatibleFromGodot
compatibleToGodot
conversionFromGodot
conversionToGodot
variantTypeOf
variables
_godot_variant
compatible
convertsFromGodot
convertsToGodot
directlyCompatible
Get the Variant.Type of a compatible D type. Incompatible types return nil.