Skip to documentation
SLOP

tiny.preserves.RestPattern

Reference tiny.preserves RestPattern

Defined in tiny.preserves.

The parts of a rest pattern: a slice of patterns for the first items of a sequence and a pointer to one pattern for the items after them.

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

Source

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

zig
/// The parts of a rest pattern: a slice of patterns for the first items of a sequence and a pointer/// to one pattern for the items after them. Code that reads a rest pattern from the root functions/// names its parts with this type. `toText` prints it as `[p1 p2 . rest]`.pub const RestPattern = AnyValue.RestPattern;

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

zig
pub const RestPattern = any.RestPattern;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433