godot-dlang ~master (2023-06-12T16:03:25Z)
Dub
Repo
Variant.variantTypeOf
godot
variant
Variant
Get the Variant.Type of a compatible D type. Incompatible types return nil.
struct
Variant
public
template
variantTypeOf (
T
) {
public
import
std
.
traits
,
godot
;
;
public
import
std
.
traits
,
godot
;
;
public
static if
(
directlyCompatible!T
)
enum
Type
variantTypeOf
;
public
static if
(!(
directlyCompatible!T
))
static if
(
convertsToGodot!T
)
static if
(
is(conversionToGodotType!T : Variant)
)
enum
Type
variantTypeOf
;
public
static if
(!(
directlyCompatible!T
))
static if
(
convertsToGodot!T
)
static if
(!(
is(conversionToGodotType!T : Variant)
))
enum
Type
variantTypeOf
;
public
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.
variantTypeOf
enum
Type
variantTypeOf
;
Undocumented in source.
Meta
Source
See Implementation
godot
variant
Variant
aliases
DType
InternalType
Type
conversionFromGodotType
conversionToGodotType
constructors
this
destructors
~this
enums
Operator
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.