#[repr(u32)]pub enum VariantType {
Show 27 variants
Nil = 0,
Bool = 1,
I64 = 2,
F64 = 3,
GodotString = 4,
Vector2 = 5,
Rect2 = 6,
Vector3 = 7,
Transform2D = 8,
Plane = 9,
Quat = 10,
Aabb = 11,
Basis = 12,
Transform = 13,
Color = 14,
NodePath = 15,
Rid = 16,
Object = 17,
Dictionary = 18,
VariantArray = 19,
ByteArray = 20,
Int32Array = 21,
Float32Array = 22,
StringArray = 23,
Vector2Array = 24,
Vector3Array = 25,
ColorArray = 26,
}Variants§
Nil = 0
Bool = 1
I64 = 2
F64 = 3
GodotString = 4
Vector2 = 5
Rect2 = 6
Vector3 = 7
Transform2D = 8
Plane = 9
Quat = 10
Aabb = 11
Basis = 12
Transform = 13
Color = 14
NodePath = 15
Rid = 16
Object = 17
Dictionary = 18
VariantArray = 19
ByteArray = 20
Int32Array = 21
Float32Array = 22
StringArray = 23
Vector2Array = 24
Vector3Array = 25
ColorArray = 26
Trait Implementations§
Source§impl Clone for VariantType
impl Clone for VariantType
Source§fn clone(&self) -> VariantType
fn clone(&self) -> VariantType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VariantType
Source§impl Debug for VariantType
impl Debug for VariantType
impl Eq for VariantType
Source§impl Hash for VariantType
impl Hash for VariantType
Source§impl PartialEq for VariantType
impl PartialEq for VariantType
Source§fn eq(&self, other: &VariantType) -> bool
fn eq(&self, other: &VariantType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VariantType
Auto Trait Implementations§
impl Freeze for VariantType
impl RefUnwindSafe for VariantType
impl Send for VariantType
impl Sync for VariantType
impl Unpin for VariantType
impl UnsafeUnpin for VariantType
impl UnwindSafe for VariantType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more