MCPcopy Create free account
hub / github.com/devashishdxt/cli-table / table

Method table

cli-table/src/table.rs:202–212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

200 R: Row,
201{
202 fn table(self) -> TableStruct {
203 let rows = self.into_iter().map(Row::row).collect();
204
205 TableStruct {
206 title: Default::default(),
207 rows,
208 format: Default::default(),
209 style: Default::default(),
210 color_choice: ColorChoice::Always,
211 }
212 }
213}
214
215impl Table for TableStruct {

Callers 7

print_stdoutFunction · 0.80
print_stderrFunction · 0.80
with_titleMethod · 0.80
try_fromMethod · 0.80
test_row_from_str_arrFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

into_iterMethod · 0.80

Tested by 1

test_row_from_str_arrFunction · 0.64