Module conv
Expand description
Advanced conversion machinery.
Structs§
- RawPtr
- Wrapper around a raw pointer, providing
ToGodot/FromGodotfor FFI passing.
Enums§
- ByObject
- Pass arguments to Godot by object pointer (for objects only).
- ByOption
- Pass optional arguments by returning
Option<&T::Via>, allowing delegation to underlying type’s strategy. - ByRef
- Pass arguments to Godot by reference.
- ByValue
- Pass arguments to Godot by value.
- ByVariant
- Pass
Variantarguments to Godot by reference.
Traits§
- ArgPassing
- Determines whether arguments are passed by value or by reference to Godot.
- AsDirect
Element - Marker trait for types directly usable in the
array!anddict!macros. - FfiRaw
Pointer - Trait for raw pointers that can be passed over the Godot FFI boundary as
i64addresses. - InParam
Tuple - Represents a parameter list that is received from some external location (usually Godot).
- Object
ToOwned - Obtain owned
Gdfrom either&selfor&Gd. - OutParam
Tuple - Represents a parameter list that is used to call some external code.
- Param
Tuple - Represents a parameter list as Rust tuple where each tuple element is one parameter.
- Uniform
Object Deref - Unifies dereferencing of user and engine classes, as
&T/&mut TandGd<T>.