[][src]Module gdnative::core_types::variant

Structs

InvalidOp

Error indicating that an operator result is invalid.

MaybeNot

Wrapper type around a FromVariant result that may not be a success

Variant

A Variant can represent many of godot's core types.

Enums

CallError
FromVariantError

Error type returned by FromVariant::from_variant.

VariantEnumRepr
VariantOperator

Godot variant operator kind.

VariantStructRepr
VariantType

Traits

FromVariant

Types that can be converted from a Variant.

OwnedToVariant

Types that can only be safely converted to a Variant as owned values. Such types cannot implement ToVariant in general, but can still be passed to API methods as arguments, or used as return values. Notably, this includes Unique arrays, dictionaries, and references to Godot objects and instances.

ToVariant

Types that can be converted to a Variant.

ToVariantEq

Trait for types whose ToVariant implementations preserve equivalence.