Available on crate feature
enum only.Expand description
This module defines the PhpEnum trait and related types for Rust enums that are exported to PHP.
Structs§
- Enum
Case - Represents a case in a PHP enum.
Enums§
- Discriminant
- Represents the discriminant of an enum case in PHP, which can be either an integer or a string.
Traits§
- Registered
Enum - Implemented on Rust enums which are exported to PHP.