Skip to documentation
SLOP

tiny.zen.LoadedTheme

Reference tiny.zen LoadedTheme

Defined in tiny.zen.

API (5)

Actions

Public operations.

Fields and members

Public fields and members.

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

Source

Source: lib/zen/src/theme/load.zig:10

zig
pub const Loaded = struct {    value: Theme,    layout: ?[]u8 = null,    style: ?[]u8 = null,    includes: []Include = &.{},    pub fn deinit(self: *Loaded, allocator: Allocator) void {        if (self.layout) |value| allocator.free(value);        if (self.style) |value| allocator.free(value);        for (self.includes) |include| {            allocator.free(include.name);            allocator.free(include.html);        }        if (self.includes.len != 0) allocator.free(self.includes);        self.* = undefined;    }};

Source: lib/zen/src/root.zig:235

zig
/// Owns any theme file bytes loaded over a borrowed base; release with `deinit`.pub const LoadedTheme = theme.Loaded;

Also reachable as

theme.Loaded.

Audit

Definitions2
Public names4
Members4
Version26.7.0
Revisiondaab053ee433