MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / new

Method new

crates/opencode-tui/src/components/markdown/renderer.rs:39–46  ·  view source on GitHub ↗
(alignments: Vec<Alignment>)

Source from the content-addressed store, hash-verified

37
38impl TableBuilder {
39 fn new(alignments: Vec<Alignment>) -> Self {
40 Self {
41 alignments,
42 rows: Vec::new(),
43 current_row: Vec::new(),
44 in_header: false,
45 }
46 }
47
48 fn set_header(&mut self, in_header: bool) {
49 self.in_header = in_header;

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected