godot-d ~master (2021-09-08T21:50:27Z)
Dub
Repo
Variant.variantTypeOf
godot
core
variant
Variant
Get the Variant.Type of a compatible D type. Incompatible types return nil.
struct
Variant
template
variantTypeOf (
T
) {
public
import
std
.
traits
,
godot
;
;
public
import
std
.
traits
,
godot
;
;
static if
(
directlyCompatible!T
)
enum
Type
variantTypeOf
;
static if
(!(
directlyCompatible!T
))
static if
(
convertsToGodot!T
)
static if
(
is(conversionToGodotType!T : Variant)
)
enum
Type
variantTypeOf
;
static if
(!(
directlyCompatible!T
))
static if
(
convertsToGodot!T
)
static if
(!(
is(conversionToGodotType!T : Variant)
))
enum
Type
variantTypeOf
;
static if
(!(
directlyCompatible!T
))
static if
(!(
convertsToGodot!T
))
enum
Type
variantTypeOf
;
}
Public Imports
std.traits
public
import
std
.
traits
,
godot
;
godot
public
import
std
.
traits
,
godot
;
Members
Variables
variantTypeOf
enum
Type
variantTypeOf
;
Undocumented in source.
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
exactType
isType
opAssign
opCmp
opEquals
toString
type
postblits
this(this)
static functions
from
nil
templates
compatibleFromGodot
compatibleToGodot
conversionFromGodot
conversionToGodot
getFromVariantFunction
variantTypeOf
variables
_godot_variant
compatible
convertsFromGodot
convertsToGodot
directlyCompatible
hasFromVariantFunction
hasToVariantFunction
hasVariantConstructor
Get the Variant.Type of a compatible D type. Incompatible types return nil.