Module red4ext_rs::types
source · Expand description
A module encapsulating various types defined in the RED4ext SDK.
Re-exports§
pub use array::RedArray;
Modules§
- A dynamically sized array.
Structs§
- An RTTI representation of an array type.
- An RTTI representation of a bitfield type.
- A hash representing an immutable string stored in a global name pool.
- A global pool containing all
CName
s. - An RTTI representation of a class.
- Flags for a class type.
- Class handle to be used to register a class with
RttiSystemMut
. - An RTTI representation of a curve type.
- An RTTI representation of an enum type.
- An RTTI representation of a function type.
- Flags for a function.
- Scripted game instance.
- An RTTI representation of a global function.
- An interface for allocating and freeing memory.
- The base type for all scripted classes.
- The base type for all types held inside game references.
- An RTTI representation of a method.
- An RTTI representation of a native array type.
- An RTTI representation of a native class.
- Native game instance.
- An RTTI representation of a pointer type.
- A reference to a value stored in a pool.
- An RTTI representation of a property.
- Flags for a property.
- An asynchronous resource reference.
- An RTTI representation of an asynchronous resource reference type.
- A hash map.
- A dynamically allocated string.
- A reference counted shared pointer to a script class.
- An RTTI representation of a reference type.
- An RTTI representation of a resource reference type.
- A read-write spin lock read guard. Permits any number of readers to access the locked data.
- A read-write spin lock write guard. Permits only one thread at a time to access the locked data.
- A reference to local script data.
- An RTTI representation of a script reference type.
- A stack argument to be passed to a function.
- A script stack frame.
- An RTTI representation of a static array type.
- An RTTI representation of a static method.
- An RTTI representation of a type.
- A container holding values, e.g. object fields or function arguments.
- A pointer to a script value.
- A weak reference to a script class. Before use, it must be upgraded to a strong reference using
WeakRef::upgrade
. - An RTTI representation of a weak reference type.
Enums§
- see gameEItemIDFlag and CET initialization.
- A convenience type to explicitly mark a function argument as
opt T
. - Enum representation of the RTTI type.
- An identifier for a kind of type.
Constants§
Traits§
- A trait for types that can be hashed.
- A trait for types that correspond to bytecode instructions.
- A trait for types that can be stored in a pool.
- A trait with operations for types that can be stored in a pool.
Type Aliases§
- A handler for function calls.
- A function pointer type for bytecode opcode handlers.