Expand description
Types and traits used for registering classes with PHP.
Structs§
- Class
Metadata - Stores the class entry and handlers for a Rust type which has been exported to PHP. Usually allocated statically.
- Constructor
Meta - Stores metadata about a classes Rust constructor, including the function pointer and the arguments of the function.
Enums§
- Constructor
Result - Result returned from a constructor of a class.
Traits§
- Registered
Class - Implemented on Rust types which are exported to PHP. Allows users to get and set PHP properties on the object.
Type Aliases§
- Class
Entry Info - A type alias for a tuple containing a function pointer to a class entry and a string representing the class name used in stubs.