Skip to documentation
SLOP

tiny.termtex.Box

Reference tiny.termtex Box

Defined in layout.

API (6)

Actions

Public operations.

Fields and members

Public fields and members.

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

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

Definitions3
Public names6
Members4
Version26.7.0
Revisiondaab053ee433