Struct libtableformat::table::Border [−][src]
pub struct Border {}Show fields
pub top_left: char, pub top: char, pub top_right: char, pub top_split: char, pub bottom_left: char, pub bottom: char, pub bottom_right: char, pub bottom_split: char, pub left: char, pub left_split: char, pub right: char, pub right_split: char, pub vertical_split: char, pub vertical_split_intersect_left: char, pub vertical_split_intersect_right: char, pub vertical_split_intersect_both: char, pub horizontal_split: char, pub horizontal_split_intersect_top: char, pub horizontal_split_intersect_bottom: char, pub horizontal_split_intersect_both: char, pub color: Color,
Fields
top_left: char
top: char
top_right: char
top_split: char
bottom_left: char
bottom: char
bottom_right: char
bottom_split: char
left: char
left_split: char
right: char
right_split: char
vertical_split: char
vertical_split_intersect_left: char
vertical_split_intersect_right: char
vertical_split_intersect_both: char
horizontal_split: char
horizontal_split_intersect_top: char
horizontal_split_intersect_bottom: char
horizontal_split_intersect_both: char
color: Color
Implementations
impl Border
[src]
impl Border
[src]#[must_use]pub fn default() -> Border
[src]
#[must_use]
pub fn default() -> Border#[must_use]pub fn format_bottom(self: &Border, widths: &[usize]) -> String
[src]
#[must_use]pub fn format_bottom(self: &Border, widths: &[usize]) -> String
[src]Formats the bottom border
#[must_use]pub fn format_left(self: &Border) -> String
[src]
#[must_use]pub fn format_left(self: &Border) -> String
[src]Formats the left border.
#[must_use]pub fn format_right(self: &Border) -> String
[src]
#[must_use]pub fn format_right(self: &Border) -> String
[src]Formats the right border.
#[must_use]pub fn format_horizontal_split(self: &Border, widths: &[usize]) -> String
[src]
#[must_use]pub fn format_horizontal_split(self: &Border, widths: &[usize]) -> String
[src]Formats a horizontal split.
#[must_use]pub fn format_vertical_split(self: &Border) -> String
[src]
#[must_use]pub fn format_vertical_split(self: &Border) -> String
[src]Formats a vertical split.