Module ext_php_rs::class
source · Expand description
Types and traits used for registering classes with PHP.
Structs§
- Stores the class entry and handlers for a Rust type which has been exported to PHP. Usually allocated statically.
- Stores metadata about a classes Rust constructor, including the function pointer and the arguments of the function.
Enums§
- Result returned from a constructor of a class.
Traits§
- Implemented on Rust types which are exported to PHP. Allows users to get and set PHP properties on the object.