pub enum GodotTypeIndex {
Show 30 variants
Null = 0,
Bool = 1,
Integer = 2,
Float = 3,
String = 4,
Vector2 = 5,
Rect2 = 6,
Vector3 = 7,
Transform2D = 8,
Plane = 9,
Quaternion = 10,
Aabb = 11,
Basis = 12,
Transform3D = 13,
Color = 14,
NodePath = 15,
RID = 16,
Object = 17,
Dictionary = 18,
Array = 19,
RawArray = 20,
Int32Array = 21,
Int64Array = 22,
Float32Array = 23,
Float64Array = 24,
StringArray = 25,
Vector2Array = 26,
Vector3Array = 27,
ColorArray = 28,
Max = 29,
}Expand description
The Godot type indexes based on Godot’s binary serialization API
Variants§
Null = 0
Bool = 1
Integer = 2
Float = 3
String = 4
Vector2 = 5
Rect2 = 6
Vector3 = 7
Transform2D = 8
Plane = 9
Quaternion = 10
Aabb = 11
Basis = 12
Transform3D = 13
Color = 14
NodePath = 15
RID = 16
Object = 17
Dictionary = 18
Array = 19
RawArray = 20
Int32Array = 21
Int64Array = 22
Float32Array = 23
Float64Array = 24
StringArray = 25
Vector2Array = 26
Vector3Array = 27
ColorArray = 28
Max = 29
Trait Implementations§
Source§impl Debug for GodotTypeIndex
impl Debug for GodotTypeIndex
Source§impl PartialEq for GodotTypeIndex
impl PartialEq for GodotTypeIndex
Source§impl TryFrom<u16> for GodotTypeIndex
impl TryFrom<u16> for GodotTypeIndex
impl Eq for GodotTypeIndex
impl StructuralPartialEq for GodotTypeIndex
Auto Trait Implementations§
impl Freeze for GodotTypeIndex
impl RefUnwindSafe for GodotTypeIndex
impl Send for GodotTypeIndex
impl Sync for GodotTypeIndex
impl Unpin for GodotTypeIndex
impl UnwindSafe for GodotTypeIndex
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.