tiny.preserves.capture
Defined in tiny.preserves.
Makes a capture of the pattern inner.
Source
Source: lib/preserves/src/any.zig:181
zig
/// Makes a capture of the pattern `inner`. Code that writes a pattern by hand calls it to wrap an/// inner pattern in a capture. The call allocates one cell and copies the outer struct of `inner`/// into it. The capture shares everything below `inner`, and `freeValue` frees exactly the cell.pub const capture = any_constructors.capture;Source: lib/preserves/src/root.zig:200
zig
pub const capture = any.capture;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |