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

Method title

cli-table/src/table.rs:29–32  ·  view source on GitHub ↗

Used to add a title row of a table

(mut self, title: T)

Source from the content-addressed store, hash-verified

27impl TableStruct {
28 /// Used to add a title row of a table
29 pub fn title<T: Row>(mut self, title: T) -> Self {
30 self.title = Some(title.row());
31 self
32 }
33
34 /// Used to set border of a table
35 pub fn border(mut self, border: Border) -> Self {

Callers 5

with_titleMethod · 0.45
try_fromMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

rowMethod · 0.45

Tested by

no test coverage detected