#[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 copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VariantType
impl Debug for VariantType
Source§impl Hash for VariantType
impl Hash for VariantType
Source§impl PartialEq for VariantType
impl PartialEq for VariantType
impl Copy for VariantType
impl Eq for VariantType
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 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