tiny.zen.LoadedTheme
Defined in tiny.zen.
API (5)
Actions
Public operations.
Fields and members
Public fields and members.
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
Audit
| Definitions | 2 |
|---|---|
| Public names | 4 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |