tiny.zen.ThemeRenderCapacity
Defined in tiny.zen.
API (4)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/zen/src/theme/capacity.zig:6
zig
pub const Capacity = struct { limits: Limits, output_offset: usize, storage_bytes: usize, pub fn derive(limits: Limits) Capacity { return .{ .limits = limits, .output_offset = 0, .storage_bytes = limits.max_output_bytes, }; }};Source: lib/zen/src/root.zig:247
zig
/// Checked output-byte capacity derived from `ThemeRenderLimits`.pub const ThemeRenderCapacity = theme.RenderCapacity;Also reachable as
Audit
| Definitions | 2 |
|---|---|
| Public names | 4 |
| Members | 3 |
| Version | 26.7.0 |
| Revision | daab053ee433 |