Skip to documentation
SLOP

tiny.preserves.foreachEmbedded

Reference tiny.preserves foreachEmbedded

Defined in tiny.preserves.

Calls callback(context, e) once for each embedded value e inside v, in storage order.

No direct callersNo direct callstiny.preservesforeachEmbedded
Static calls · unresolved targets: 0 · external targets: 1.

Source

Source: lib/preserves/src/any.zig:334

zig
/// Calls `callback(context, e)` once for each embedded value `e` inside `v`, in storage order. Code/// that tracks host objects inside a value calls it to visit each one. The walk visits a record's/// label before its fields, a dictionary entry's key before its value, and the inner patterns of/// captures, binds and rest patterns. The call allocates nothing.pub fn foreachEmbedded(    v: AnyValue,    context: anytype,    callback: anytype,) void {    any_conversions.foreachEmbedded(v, context, callback);}

Source: lib/preserves/src/root.zig:229

zig
pub const foreachEmbedded = any.foreachEmbedded;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433