Struct VariantType
#[repr(transparent)]pub struct VariantType { /* private fields */ }
Expand description
Godot enum name: Variant.Type
.
Implementations§
§impl VariantType
impl VariantType
pub const NIL: VariantType
pub const NIL: VariantType
Godot enumerator name: TYPE_NIL
pub const BOOL: VariantType
pub const BOOL: VariantType
Godot enumerator name: TYPE_BOOL
pub const INT: VariantType
pub const INT: VariantType
Godot enumerator name: TYPE_INT
pub const FLOAT: VariantType
pub const FLOAT: VariantType
Godot enumerator name: TYPE_FLOAT
pub const STRING: VariantType
pub const STRING: VariantType
Godot enumerator name: TYPE_STRING
pub const VECTOR2: VariantType
pub const VECTOR2: VariantType
Godot enumerator name: TYPE_VECTOR2
pub const VECTOR2I: VariantType
pub const VECTOR2I: VariantType
Godot enumerator name: TYPE_VECTOR2I
pub const RECT2: VariantType
pub const RECT2: VariantType
Godot enumerator name: TYPE_RECT2
pub const RECT2I: VariantType
pub const RECT2I: VariantType
Godot enumerator name: TYPE_RECT2I
pub const VECTOR3: VariantType
pub const VECTOR3: VariantType
Godot enumerator name: TYPE_VECTOR3
pub const VECTOR3I: VariantType
pub const VECTOR3I: VariantType
Godot enumerator name: TYPE_VECTOR3I
pub const TRANSFORM2D: VariantType
pub const TRANSFORM2D: VariantType
Godot enumerator name: TYPE_TRANSFORM2D
pub const VECTOR4: VariantType
pub const VECTOR4: VariantType
Godot enumerator name: TYPE_VECTOR4
pub const VECTOR4I: VariantType
pub const VECTOR4I: VariantType
Godot enumerator name: TYPE_VECTOR4I
pub const PLANE: VariantType
pub const PLANE: VariantType
Godot enumerator name: TYPE_PLANE
pub const QUATERNION: VariantType
pub const QUATERNION: VariantType
Godot enumerator name: TYPE_QUATERNION
pub const AABB: VariantType
pub const AABB: VariantType
Godot enumerator name: TYPE_AABB
pub const BASIS: VariantType
pub const BASIS: VariantType
Godot enumerator name: TYPE_BASIS
pub const TRANSFORM3D: VariantType
pub const TRANSFORM3D: VariantType
Godot enumerator name: TYPE_TRANSFORM3D
pub const PROJECTION: VariantType
pub const PROJECTION: VariantType
Godot enumerator name: TYPE_PROJECTION
pub const COLOR: VariantType
pub const COLOR: VariantType
Godot enumerator name: TYPE_COLOR
pub const STRING_NAME: VariantType
pub const STRING_NAME: VariantType
Godot enumerator name: TYPE_STRING_NAME
pub const NODE_PATH: VariantType
pub const NODE_PATH: VariantType
Godot enumerator name: TYPE_NODE_PATH
pub const RID: VariantType
pub const RID: VariantType
Godot enumerator name: TYPE_RID
pub const OBJECT: VariantType
pub const OBJECT: VariantType
Godot enumerator name: TYPE_OBJECT
pub const CALLABLE: VariantType
pub const CALLABLE: VariantType
Godot enumerator name: TYPE_CALLABLE
pub const SIGNAL: VariantType
pub const SIGNAL: VariantType
Godot enumerator name: TYPE_SIGNAL
pub const DICTIONARY: VariantType
pub const DICTIONARY: VariantType
Godot enumerator name: TYPE_DICTIONARY
pub const ARRAY: VariantType
pub const ARRAY: VariantType
Godot enumerator name: TYPE_ARRAY
pub const PACKED_BYTE_ARRAY: VariantType
pub const PACKED_BYTE_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_BYTE_ARRAY
pub const PACKED_INT32_ARRAY: VariantType
pub const PACKED_INT32_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_INT32_ARRAY
pub const PACKED_INT64_ARRAY: VariantType
pub const PACKED_INT64_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_INT64_ARRAY
pub const PACKED_FLOAT32_ARRAY: VariantType
pub const PACKED_FLOAT32_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_FLOAT32_ARRAY
pub const PACKED_FLOAT64_ARRAY: VariantType
pub const PACKED_FLOAT64_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_FLOAT64_ARRAY
pub const PACKED_STRING_ARRAY: VariantType
pub const PACKED_STRING_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_STRING_ARRAY
pub const PACKED_VECTOR2_ARRAY: VariantType
pub const PACKED_VECTOR2_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_VECTOR2_ARRAY
pub const PACKED_VECTOR3_ARRAY: VariantType
pub const PACKED_VECTOR3_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_VECTOR3_ARRAY
pub const PACKED_COLOR_ARRAY: VariantType
pub const PACKED_COLOR_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_COLOR_ARRAY
pub const PACKED_VECTOR4_ARRAY: VariantType
pub const PACKED_VECTOR4_ARRAY: VariantType
Godot enumerator name: TYPE_PACKED_VECTOR4_ARRAY
pub const MAX: VariantType
pub const MAX: VariantType
Godot enumerator name: TYPE_MAX
Trait Implementations§
§impl Clone for VariantType
impl Clone for VariantType
§fn clone(&self) -> VariantType
fn clone(&self) -> VariantType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for VariantType
impl Debug for VariantType
§impl EngineEnum for VariantType
impl EngineEnum for VariantType
§impl FromGodot for VariantType
impl FromGodot for VariantType
§fn try_from_godot(
via: <VariantType as GodotConvert>::Via,
) -> Result<VariantType, ConvertError>
fn try_from_godot( via: <VariantType as GodotConvert>::Via, ) -> Result<VariantType, ConvertError>
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Variant
, returning Err
on failure.