MCPcopy Create free account

hub / github.com/Nukesor/comfy-table / functions

Functions261 in github.com/Nukesor/comfy-table

Functionpercentage
()
tests/all/constraints_test.rs:170
Functionpercentage_second
()
tests/all/constraints_test.rs:221
Functionpolar_python_test_tbl_width_chars
()
tests/all/content_arrangement_test.rs:250
Methodrow
Reference to a specific row
src/table.rs:597
Methodrow_count
Returns the number of currently present rows. ``` use comfy_table::Table; let mut table = Table::new(); table.add_row(vec!["One", "Two"]); assert_e
src/table.rs:228
Methodset_alignment
(mut self, alignment: CellAlignment)
src/cell.rs:78
Methodset_delimiter
Set the delimiter used to split text for this column's cells. A custom delimiter on a cell in will overwrite the column's delimiter. Normal text uses
src/column.rs:75
Methodset_delimiter
Set the delimiter used to split text in all cells. A custom delimiter on a cell in will overwrite the column's delimiter.\ Normal text uses spaces (`
src/table.rs:308
Methodset_max_content_widths
(max_widths: &mut [u16], row: &Row)
src/table.rs:632
Functionsimple_dynamic_table
()
tests/all/content_arrangement_test.rs:8
Functionsimple_table
()
tests/all/simple_test.rs:5
Functionsingle_column_table
()
tests/all/simple_test.rs:58
Functionsplit_long_word
Splits a long word at a given character width. Inserting the needed ansi codes to preserve style.
src/utils/formatting/content_split/custom_styling.rs:48
Methodstyle
Returns a copy of the table's current [TableStyle]. ``` use comfy_table::{Table, presets::UTF8_FULL}; let mut table = Table::new(); table.load_style
src/table.rs:469
Methodstyle_mut
Get a mutable handle to the table's [TableStyle] to edit it in place. ``` use comfy_table::{Table, presets::UTF8_FULL}; let mut table = Table::new()
src/table.rs:489
Functionstyled_table
()
tests/all/styling_test.rs:34
Functionstyled_table
()
tests/all/inner_style_test.rs:37
Functionstyled_text_only_table
()
tests/all/styling_test.rs:71
Functionstyled_text_only_table
()
tests/all/inner_style_test.rs:80
Functiontable_width
The overall table width in the range of 0 to 1000.
tests/all/property_test.rs:143
Functiontable_with_composite_utf8_emojis
()
tests/all/truncation.rs:197
Functiontable_with_composite_utf8_strings
()
tests/all/truncation.rs:144
Functiontable_with_composite_utf8_strings_2_lines
()
tests/all/truncation.rs:170
Functiontable_with_indicator_wider_than_column
()
tests/all/truncation.rs:226
Functiontable_with_max_height_zero
()
tests/all/truncation.rs:120
Functiontable_with_truncate
()
tests/all/truncation.rs:9
Functiontable_with_truncate_indicator
()
tests/all/truncation.rs:63
Functiontest_ascii_borders_only
()
tests/all/presets_test.rs:63
Functiontest_ascii_borders_only_condensed
()
tests/all/presets_test.rs:80
Functiontest_ascii_full
()
tests/all/presets_test.rs:15
Functiontest_ascii_full_condensed
()
tests/all/presets_test.rs:32
Functiontest_ascii_horizontal_only
()
tests/all/presets_test.rs:96
Functiontest_ascii_markdown
()
tests/all/presets_test.rs:113
Functiontest_ascii_no_borders
()
tests/all/presets_test.rs:48
Functiontest_col_count_header
()
tests/all/counts.rs:5
Functiontest_col_count_row
()
tests/all/counts.rs:19
Functiontest_column
()
src/column.rs:118
Functiontest_column_generation
()
src/table.rs:758
Functiontest_column_generation
()
src/cell.rs:187
Functiontest_correct_max_content_width
()
src/row.rs:115
Functiontest_disabled_arrangement
()
src/utils/arrangement/mod.rs:69
Functiontest_discover_columns
()
src/utils/arrangement/mod.rs:82
Functiontest_is_empty
()
tests/all/counts.rs:48
Functiontest_no_vertical_styling
()
tests/all/presets_test.rs:220
Functiontest_nothing
()
tests/all/presets_test.rs:192
Functiontest_nothing_without_padding
()
tests/all/presets_test.rs:205
Functiontest_row_count
()
tests/all/counts.rs:30
Functiontest_some_functions
()
src/row.rs:130
Functiontest_split_long_word
()
src/utils/formatting/content_split/mod.rs:197
Functiontest_utf8_full
()
tests/all/presets_test.rs:127
Functiontest_utf8_full_condensed
()
tests/all/presets_test.rs:144
Functiontest_utf8_horizontal_only
()
tests/all/presets_test.rs:175
Functiontest_utf8_no_borders
()
tests/all/presets_test.rs:160
Methodtrim_fmt
This is an alternative `fmt` function, which simply removes any trailing whitespaces. Trailing whitespaces often occur, when using tables without a ri
src/table.rs:85
Functionunnecessary_max_min_constraints
(#[case] arrangement: ContentArrangement)
tests/all/constraints_test.rs:107
Functionunused_space_after_split
()
tests/all/content_arrangement_test.rs:100
Methoduse_stderr
(&mut self)
src/table.rs:344
Functionutf8_round_corners
()
tests/all/modifiers_test.rs:15
Functionutf8_solid_inner_borders
()
tests/all/modifiers_test.rs:32
Functionvisible_wide_columns
The amount of visible columns that contain wide characters. See [wide_columns].
tests/all/property_test.rs:318
Functionzwj_utf8_word_splitting
()
tests/all/utf_8_characters.rs:91
← previous201–261 of 261, ranked by callers