Enum gdnative::VariantType
[−]
[src]
#[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
Methods
impl VariantType
[src]
pub fn from_sys(v: godot_variant_type) -> VariantType
[src]
Trait Implementations
impl Copy for VariantType
[src]
impl Clone for VariantType
[src]
fn clone(&self) -> VariantType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for VariantType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for VariantType
[src]
fn eq(&self, __arg_0: &VariantType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.