[][src]Enum gdnative_bindings::VariantType

#[repr(u32)]
pub enum VariantType {
    Nil,
    Bool,
    I64,
    F64,
    GodotString,
    Vector2,
    Rect2,
    Vector3,
    Transform2D,
    Plane,
    Quat,
    Aabb,
    Basis,
    Transform,
    Color,
    NodePath,
    Rid,
    Object,
    Dictionary,
    VariantArray,
    ByteArray,
    Int32Array,
    Float32Array,
    StringArray,
    Vector2Array,
    Vector3Array,
    ColorArray,
}

Variants

Nil
Bool
I64
F64
GodotString
Vector2
Rect2
Vector3
Transform2D
Plane
Quat
Aabb
Basis
Transform
Color
NodePath
Rid
Object
Dictionary
VariantArray
ByteArray
Int32Array
Float32Array
StringArray
Vector2Array
Vector3Array
ColorArray

Trait Implementations

impl Clone for VariantType[src]

impl Copy for VariantType[src]

impl Debug for VariantType[src]

impl Eq for VariantType[src]

impl Hash for VariantType[src]

impl PartialEq<VariantType> for VariantType[src]

impl StructuralEq for VariantType[src]

impl StructuralPartialEq for VariantType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.