tiny.preserves.PatternFormClass
Defined in value.
The four kinds of pattern, in the order compare ranks them: discard, capture, bind and rest pattern.
API (4)
Fields and members
Public fields and members.
Source
Source: lib/preserves/src/value.zig:66
zig
/// The four kinds of pattern, in the order `compare` ranks them: discard, capture, bind and rest/// pattern. Code that switches on a pattern's kind reads this from `patternClass`. `patternClass`/// returns it for a pattern and `null` for any other value. These kinds rank after every data kind.pub const PatternFormClass = enum { discard, capture, bind, rest_pattern };Source: lib/preserves/src/root.zig:137
zig
pub const PatternFormClass = value.PatternFormClass;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |