Skip to documentation
SLOP

tiny.preserves.embedded

Reference tiny.preserves embedded

Defined in tiny.preserves.

Makes an embedded value that points to the payload ptr.

No direct callersNo direct callstiny.preservesembedded
Static calls · unresolved targets: unknown · external targets: unknown.

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

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433