tiny.zen.diagram.model
Defined in diagram.
API (2)
Actions
Public operations.
Types and contracts
Public types and contracts.
Source
Source: lib/zen/src/diagram/model.zig
zig
const std = @import("std");const root = @import("root.zig");const spec = root.spec;pub const Bounds = struct { x_min: f64 = 0, x_max: f64 = 1, y_min: f64 = 0, y_max: f64 = 1, x_kind: spec.ScaleKind = .linear, y_kind: spec.ScaleKind = .linear, x_base: f64 = 10, y_base: f64 = 10, categorical: bool = false, categories: std.ArrayList([]const u8) = .empty, category_slots_owned: bool = true, pub fn deinit(self: *Bounds, allocator: std.mem.Allocator) void { if (self.category_slots_owned) self.categories.deinit(allocator); }};Source: lib/zen/src/diagram/root.zig:9
zig
pub const model = @import("model.zig");Audit
| Definitions | 3 |
|---|---|
| Public names | 5 |
| Members | 11 |
| Version | 26.7.0 |
| Revision | daab053ee433 |