tiny.preserves.embedded
Defined in tiny.preserves.
Makes an embedded value that points to the payload ptr.
Source
Source: lib/preserves/src/any.zig:199
zig
/// Makes an embedded value that points to the payload `ptr`. Code that places a host object inside/// a value calls it, so the value points to the object and never frees it. The value carries no/// table of functions, no free function and no copy function. The value compares and hashes by the/// address of `ptr`, and nothing in the package frees the payload. A copy of the value by/// `cloneValueDeep` points to the same payload.pub const embedded = any_constructors.embedded;Source: lib/preserves/src/root.zig:203
zig
pub const embedded = any.embedded;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |