Expand description
Meta-information about Godot types, their properties and conversions between them.
Modules§
- conv
- Advanced conversion machinery.
- error
- Custom error types.
- inspect
- Runtime type information for Godot arrays and dictionaries.
- shape
- Static type descriptors for Rust types towards Godot.
Structs§
- ClassId
- Globally unique ID of a class registered with Godot.
Traits§
- AsArg
- Implicit conversions for arguments passed to Godot APIs.
- Element
- Marker trait to identify types that can be stored in
Array<T>andDictionary<K, V>. - From
Godot - Defines the canonical conversion from Godot for a type.
- Godot
Convert - Indicates that a type can be passed to/from Godot, either directly or through an intermediate “via” type.
- Godot
Immutable - Implemented for types that can be used as immutable default parameters in
#[func]methods. - Godot
Type - Type that is directly representable in the engine.
- Packed
Element - Marker trait to identify types that can be stored in
PackedArray<T>. - Signed
Range - Trait supporting regular
usizeranges, as well as negative indices. - ToGodot
- Defines the canonical conversion to Godot for a type.
Functions§
- owned_
into_ arg - Generic abstraction over
Towned values that should be passed asAsArg<T>. - ref_
to_ arg - Generic abstraction over
&Treferences that should be passed asAsArg<T>. - wrapped
- Accepts negative bounds, interpreted relative to the end of the collection.
Derive Macros§
- Godot
Convert - Derive macro for
GodotConverton structs.