tiny.termtex.Box
Defined in layout.
API (6)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/termtex/src/layout.zig:5
zig
pub const Box = struct { width: usize, height: usize, baseline: usize, cells: []Cell, pub fn at(self: Box, x: usize, y: usize) Cell { return self.cells[y * self.width + x]; } pub fn set(self: *Box, x: usize, y: usize, cell: Cell) void { self.cells[y * self.width + x] = cell; }};Source: lib/termtex/src/root.zig:20
zig
pub const Box = layout.Box;Audit
| Definitions | 3 |
|---|---|
| Public names | 6 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |